@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplaceIamInstanceProfileAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReplaceIamInstanceProfileAssociationRequest>
NOOP
Constructor and Description |
---|
ReplaceIamInstanceProfileAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
ReplaceIamInstanceProfileAssociationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociationId()
The ID of the existing IAM instance profile association.
|
Request<ReplaceIamInstanceProfileAssociationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
IamInstanceProfileSpecification |
getIamInstanceProfile()
The IAM instance profile.
|
int |
hashCode() |
void |
setAssociationId(String associationId)
The ID of the existing IAM instance profile association.
|
void |
setIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
|
String |
toString()
Returns a string representation of this object.
|
ReplaceIamInstanceProfileAssociationRequest |
withAssociationId(String associationId)
The ID of the existing IAM instance profile association.
|
ReplaceIamInstanceProfileAssociationRequest |
withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ReplaceIamInstanceProfileAssociationRequest()
public void setIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.public IamInstanceProfileSpecification getIamInstanceProfile()
The IAM instance profile.
public ReplaceIamInstanceProfileAssociationRequest withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.public void setAssociationId(String associationId)
The ID of the existing IAM instance profile association.
associationId
- The ID of the existing IAM instance profile association.public String getAssociationId()
The ID of the existing IAM instance profile association.
public ReplaceIamInstanceProfileAssociationRequest withAssociationId(String associationId)
The ID of the existing IAM instance profile association.
associationId
- The ID of the existing IAM instance profile association.public Request<ReplaceIamInstanceProfileAssociationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReplaceIamInstanceProfileAssociationRequest>
public String toString()
toString
in class Object
Object.toString()
public ReplaceIamInstanceProfileAssociationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()