public class DeleteAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteAssociation operation.
Disassociates the specified configuration document from the specified instance.
When you disassociate a configuration document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a configuration document, you must create a new configuration document with the desired configuration and associate it with the instance.
NOOP| Constructor and Description |
|---|
DeleteAssociationRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteAssociationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the instance.
|
String |
getName()
The name of the configuration document.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setName(String name)
The name of the configuration document.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteAssociationRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
DeleteAssociationRequest |
withName(String name)
The name of the configuration document.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getName()
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
public void setName(String name)
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name - The name of the configuration document.public DeleteAssociationRequest withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 64
Pattern: ^[a-zA-Z0-9_\-.]{3,64}$
name - The name of the configuration document.public String getInstanceId()
Constraints:
Length: 10 - 10
Pattern: ^(?=.{10}$)(i-(\w){8})
public void setInstanceId(String instanceId)
Constraints:
Length: 10 - 10
Pattern: ^(?=.{10}$)(i-(\w){8})
instanceId - The ID of the instance.public DeleteAssociationRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 10 - 10
Pattern: ^(?=.{10}$)(i-(\w){8})
instanceId - The ID of the instance.public String toString()
toString in class ObjectObject.toString()public DeleteAssociationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.