@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateManagedInstanceRoleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateManagedInstanceRoleRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateManagedInstanceRoleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIamRole()
The IAM role you want to assign or change.
|
String |
getInstanceId()
The ID of the managed instance where you want to update the role.
|
int |
hashCode() |
void |
setIamRole(String iamRole)
The IAM role you want to assign or change.
|
void |
setInstanceId(String instanceId)
The ID of the managed instance where you want to update the role.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateManagedInstanceRoleRequest |
withIamRole(String iamRole)
The IAM role you want to assign or change.
|
UpdateManagedInstanceRoleRequest |
withInstanceId(String instanceId)
The ID of the managed instance where you want to update the role.
|
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, withSdkRequestTimeoutpublic void setInstanceId(String instanceId)
The ID of the managed instance where you want to update the role.
instanceId - The ID of the managed instance where you want to update the role.public String getInstanceId()
The ID of the managed instance where you want to update the role.
public UpdateManagedInstanceRoleRequest withInstanceId(String instanceId)
The ID of the managed instance where you want to update the role.
instanceId - The ID of the managed instance where you want to update the role.public void setIamRole(String iamRole)
The IAM role you want to assign or change.
iamRole - The IAM role you want to assign or change.public String getIamRole()
The IAM role you want to assign or change.
public UpdateManagedInstanceRoleRequest withIamRole(String iamRole)
The IAM role you want to assign or change.
iamRole - The IAM role you want to assign or change.public String toString()
toString in class ObjectObject.toString()public UpdateManagedInstanceRoleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.