public class DistributedPeer extends Entity
DistributedPeer
class represents a Splunk distributed peer,
providing distributed peer server management.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBuild()
Returns this peer's build number.
|
java.lang.String[] |
getBundleVersions()
Returns a list of bundle versions.
|
java.lang.String |
getGuid()
Returns this peer's GUID.
|
java.lang.String |
getLicenseSignature()
Returns this peer's license signature.
|
java.lang.String |
getPeerName()
Returns this peer's name.
|
java.lang.String |
getPeerType()
Returns this peer's type.
|
java.lang.String |
getReplicationStatus()
Returns this peer's replication status.
|
java.lang.String |
getStatus()
Return this peer's overall status.
|
java.lang.String |
getVersion()
Returns this peer's version.
|
boolean |
isHttps()
Indicates whether this peer is using HTTPS.
|
void |
setRemotePassword(java.lang.String password)
Sets the remote password.
|
void |
setRemoteUsername(java.lang.String username)
Sets the remote username.
|
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getContent, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
getName, getPath, getService, getTitle, invalidate
public java.lang.String getBuild()
public java.lang.String[] getBundleVersions()
null
if not specified.public java.lang.String getGuid()
null
if not specified.public java.lang.String getLicenseSignature()
null
if not specified.public java.lang.String getPeerName()
null
if not specified.public java.lang.String getPeerType()
null
if not specified.public java.lang.String getReplicationStatus()
null
if not specified.public java.lang.String getStatus()
null
if not specified.public java.lang.String getVersion()
null
if not specified.public boolean isHttps()
true
if this peer is using HTTPS, false
if not.public void setRemotePassword(java.lang.String password)
Note: The username and password must be set at the same time.
password
- The remote password.setRemoteUsername(java.lang.String)
public void setRemoteUsername(java.lang.String username)
Note: The username and password must be set at the same time.
username
- The remote username.setRemotePassword(java.lang.String)