@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 name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
|
String |
getInstanceId()
The ID of the managed node where you want to update the role.
|
int |
hashCode() |
void |
setIamRole(String iamRole)
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
|
void |
setInstanceId(String instanceId)
The ID of the managed node where you want to update the role.
|
String |
toString()
Returns a string representation of this object.
|
UpdateManagedInstanceRoleRequest |
withIamRole(String iamRole)
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
|
UpdateManagedInstanceRoleRequest |
withInstanceId(String instanceId)
The ID of the managed node 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, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The ID of the managed node where you want to update the role.
instanceId
- The ID of the managed node where you want to update the role.public String getInstanceId()
The ID of the managed node where you want to update the role.
public UpdateManagedInstanceRoleRequest withInstanceId(String instanceId)
The ID of the managed node where you want to update the role.
instanceId
- The ID of the managed node where you want to update the role.public void setIamRole(String iamRole)
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM
role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal
ssm.amazonaws.com
. For more information, see Create an IAM
service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager User
Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
iamRole
- The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service
principal ssm.amazonaws.com
. For more information, see Create an IAM
service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager
User Guide. You can't specify an IAM service-linked role for this parameter. You must create a unique role.
public String getIamRole()
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM
role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal
ssm.amazonaws.com
. For more information, see Create an IAM
service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager User
Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
ssm.amazonaws.com
. For more information, see Create an
IAM service role for a hybrid and multicloud environment in the Amazon Web Services Systems
Manager User Guide. You can't specify an IAM service-linked role for this parameter. You must create a unique role.
public UpdateManagedInstanceRoleRequest withIamRole(String iamRole)
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM
role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal
ssm.amazonaws.com
. For more information, see Create an IAM
service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager User
Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
iamRole
- The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service
principal ssm.amazonaws.com
. For more information, see Create an IAM
service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager
User Guide. You can't specify an IAM service-linked role for this parameter. You must create a unique role.
public String toString()
toString
in class Object
Object.toString()
public UpdateManagedInstanceRoleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()