@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateIamInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AssociateIamInstanceProfileRequest>
NOOP
Constructor and Description |
---|
AssociateIamInstanceProfileRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateIamInstanceProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<AssociateIamInstanceProfileRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
IamInstanceProfileSpecification |
getIamInstanceProfile()
The IAM instance profile.
|
String |
getInstanceId()
The ID of the instance.
|
int |
hashCode() |
void |
setIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
String |
toString()
Returns a string representation of this object.
|
AssociateIamInstanceProfileRequest |
withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
|
AssociateIamInstanceProfileRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
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 void setIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.public IamInstanceProfileSpecification getIamInstanceProfile()
The IAM instance profile.
public AssociateIamInstanceProfileRequest withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
The IAM instance profile.
iamInstanceProfile
- The IAM instance profile.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public AssociateIamInstanceProfileRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public Request<AssociateIamInstanceProfileRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AssociateIamInstanceProfileRequest>
public String toString()
toString
in class Object
Object.toString()
public AssociateIamInstanceProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()