public class AssignInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The instance ID.
|
private SdkInternalList<java.lang.String> |
layerIds
The layer ID, which must correspond to a custom layer.
|
NOOP
Constructor and Description |
---|
AssignInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
AssignInstanceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The instance ID.
|
java.util.List<java.lang.String> |
getLayerIds()
The layer ID, which must correspond to a custom layer.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The instance ID.
|
void |
setLayerIds(java.util.Collection<java.lang.String> layerIds)
The layer ID, which must correspond to a custom layer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssignInstanceRequest |
withInstanceId(java.lang.String instanceId)
The instance ID.
|
AssignInstanceRequest |
withLayerIds(java.util.Collection<java.lang.String> layerIds)
The layer ID, which must correspond to a custom layer.
|
AssignInstanceRequest |
withLayerIds(java.lang.String... layerIds)
The layer ID, which must correspond to a custom layer.
|
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
private java.lang.String instanceId
The instance ID.
private SdkInternalList<java.lang.String> layerIds
The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
public void setInstanceId(java.lang.String instanceId)
The instance ID.
instanceId
- The instance ID.public java.lang.String getInstanceId()
The instance ID.
public AssignInstanceRequest withInstanceId(java.lang.String instanceId)
The instance ID.
instanceId
- The instance ID.public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AssignInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()