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 RegisterInstanceRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetHostname()The instance's hostname.InstanceIdentitygetInstanceIdentity()An InstanceIdentity object that contains the instance's identity.StringgetPrivateIp()The instance's private IP address.StringgetPublicIp()The instance's public IP address.StringgetRsaPublicKey()The instances public RSA key.StringgetRsaPublicKeyFingerprint()The instances public RSA key fingerprint.StringgetStackId()The ID of the stack that the instance is to be registered with.inthashCode()voidsetHostname(String hostname)The instance's hostname.voidsetInstanceIdentity(InstanceIdentity instanceIdentity)An InstanceIdentity object that contains the instance's identity.voidsetPrivateIp(String privateIp)The instance's private IP address.voidsetPublicIp(String publicIp)The instance's public IP address.voidsetRsaPublicKey(String rsaPublicKey)The instances public RSA key.voidsetRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)The instances public RSA key fingerprint.voidsetStackId(String stackId)The ID of the stack that the instance is to be registered with.StringtoString()Returns a string representation of this object; useful for testing and debugging.RegisterInstanceRequestwithHostname(String hostname)The instance's hostname.RegisterInstanceRequestwithInstanceIdentity(InstanceIdentity instanceIdentity)An InstanceIdentity object that contains the instance's identity.RegisterInstanceRequestwithPrivateIp(String privateIp)The instance's private IP address.RegisterInstanceRequestwithPublicIp(String publicIp)The instance's public IP address.RegisterInstanceRequestwithRsaPublicKey(String rsaPublicKey)The instances public RSA key.RegisterInstanceRequestwithRsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)The instances public RSA key fingerprint.RegisterInstanceRequestwithStackId(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterInstanceRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-