Class RegisterInstanceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.RegisterInstanceRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RegisterInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RegisterInstanceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterInstanceRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getHostname()
The instance's hostname.InstanceIdentity
getInstanceIdentity()
An InstanceIdentity object that contains the instance's identity.String
getPrivateIp()
The instance's private IP address.String
getPublicIp()
The instance's public IP address.String
getRsaPublicKey()
The instances public RSA key.String
getRsaPublicKeyFingerprint()
The instances public RSA key fingerprint.String
getStackId()
The ID of the stack that the instance is to be registered with.int
hashCode()
void
setHostname(String hostname)
The instance's hostname.void
setInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.void
setPrivateIp(String privateIp)
The instance's private IP address.void
setPublicIp(String publicIp)
The instance's public IP address.void
setRsaPublicKey(String rsaPublicKey)
The instances public RSA key.void
setRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.void
setStackId(String stackId)
The ID of the stack that the instance is to be registered with.String
toString()
Returns a string representation of this object; useful for testing and debugging.RegisterInstanceRequest
withHostname(String hostname)
The instance's hostname.RegisterInstanceRequest
withInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.RegisterInstanceRequest
withPrivateIp(String privateIp)
The instance's private IP address.RegisterInstanceRequest
withPublicIp(String publicIp)
The instance's public IP address.RegisterInstanceRequest
withRsaPublicKey(String rsaPublicKey)
The instances public RSA key.RegisterInstanceRequest
withRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.RegisterInstanceRequest
withStackId(String stackId)
The ID of the stack that the instance is to be registered with.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setStackId
public void setStackId(String stackId)
The ID of the stack that the instance is to be registered with.
- Parameters:
stackId
- The ID of the stack that the instance is to be registered with.
-
getStackId
public String getStackId()
The ID of the stack that the instance is to be registered with.
- Returns:
- The ID of the stack that the instance is to be registered with.
-
withStackId
public RegisterInstanceRequest withStackId(String stackId)
The ID of the stack that the instance is to be registered with.
- Parameters:
stackId
- The ID of the stack that the instance is to be registered with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostname
public void setHostname(String hostname)
The instance's hostname.
- Parameters:
hostname
- The instance's hostname.
-
getHostname
public String getHostname()
The instance's hostname.
- Returns:
- The instance's hostname.
-
withHostname
public RegisterInstanceRequest withHostname(String hostname)
The instance's hostname.
- Parameters:
hostname
- The instance's hostname.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPublicIp
public void setPublicIp(String publicIp)
The instance's public IP address.
- Parameters:
publicIp
- The instance's public IP address.
-
getPublicIp
public String getPublicIp()
The instance's public IP address.
- Returns:
- The instance's public IP address.
-
withPublicIp
public RegisterInstanceRequest withPublicIp(String publicIp)
The instance's public IP address.
- Parameters:
publicIp
- The instance's public IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrivateIp
public void setPrivateIp(String privateIp)
The instance's private IP address.
- Parameters:
privateIp
- The instance's private IP address.
-
getPrivateIp
public String getPrivateIp()
The instance's private IP address.
- Returns:
- The instance's private IP address.
-
withPrivateIp
public RegisterInstanceRequest withPrivateIp(String privateIp)
The instance's private IP address.
- Parameters:
privateIp
- The instance's private IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRsaPublicKey
public void setRsaPublicKey(String rsaPublicKey)
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
- Parameters:
rsaPublicKey
- The instances public RSA key. This key is used to encrypt communication between the instance and the service.
-
getRsaPublicKey
public String getRsaPublicKey()
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
- Returns:
- The instances public RSA key. This key is used to encrypt communication between the instance and the service.
-
withRsaPublicKey
public RegisterInstanceRequest withRsaPublicKey(String rsaPublicKey)
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
- Parameters:
rsaPublicKey
- The instances public RSA key. This key is used to encrypt communication between the instance and the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRsaPublicKeyFingerprint
public void setRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
- Parameters:
rsaPublicKeyFingerprint
- The instances public RSA key fingerprint.
-
getRsaPublicKeyFingerprint
public String getRsaPublicKeyFingerprint()
The instances public RSA key fingerprint.
- Returns:
- The instances public RSA key fingerprint.
-
withRsaPublicKeyFingerprint
public RegisterInstanceRequest withRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)
The instances public RSA key fingerprint.
- Parameters:
rsaPublicKeyFingerprint
- The instances public RSA key fingerprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceIdentity
public void setInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
- Parameters:
instanceIdentity
- An InstanceIdentity object that contains the instance's identity.
-
getInstanceIdentity
public InstanceIdentity getInstanceIdentity()
An InstanceIdentity object that contains the instance's identity.
- Returns:
- An InstanceIdentity object that contains the instance's identity.
-
withInstanceIdentity
public RegisterInstanceRequest withInstanceIdentity(InstanceIdentity instanceIdentity)
An InstanceIdentity object that contains the instance's identity.
- Parameters:
instanceIdentity
- An InstanceIdentity object that contains the instance's identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterInstanceRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-