@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssignInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AssignInstanceRequest() |
| Modifier and Type | Method and Description |
|---|---|
AssignInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The instance ID.
|
List<String> |
getLayerIds()
The layer ID, which must correspond to a custom layer.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setLayerIds(Collection<String> layerIds)
The layer ID, which must correspond to a custom layer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AssignInstanceRequest |
withInstanceId(String instanceId)
The instance ID.
|
AssignInstanceRequest |
withLayerIds(Collection<String> layerIds)
The layer ID, which must correspond to a custom layer.
|
AssignInstanceRequest |
withLayerIds(String... layerIds)
The layer ID, which must correspond to a custom layer.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setInstanceId(String instanceId)
The instance ID.
instanceId - The instance ID.public String getInstanceId()
The instance ID.
public AssignInstanceRequest withInstanceId(String instanceId)
The instance ID.
instanceId - The instance ID.public List<String> getLayerIds()
The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
public void setLayerIds(Collection<String> layerIds)
The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
layerIds - The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a
built-in layer.public AssignInstanceRequest withLayerIds(String... layerIds)
The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
NOTE: This method appends the values to the existing list (if any). Use
setLayerIds(java.util.Collection) or withLayerIds(java.util.Collection) if you want to override
the existing values.
layerIds - The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a
built-in layer.public AssignInstanceRequest withLayerIds(Collection<String> layerIds)
The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
layerIds - The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a
built-in layer.public String toString()
toString in class ObjectObject.toString()public AssignInstanceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.