Class UpdateManagedInstanceRoleRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssm.model.SsmRequest
-
- software.amazon.awssdk.services.ssm.model.UpdateManagedInstanceRoleRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,UpdateManagedInstanceRoleRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateManagedInstanceRoleRequest extends SsmRequest implements ToCopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,UpdateManagedInstanceRoleRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateManagedInstanceRoleRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateManagedInstanceRoleRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
iamRole()
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.String
instanceId()
The ID of the managed node where you want to update the role.List<SdkField<?>>
sdkFields()
static Class<? extends UpdateManagedInstanceRoleRequest.Builder>
serializableBuilderClass()
UpdateManagedInstanceRoleRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceId
public final String instanceId()
The ID of the managed node where you want to update the role.
- Returns:
- The ID of the managed node where you want to update the role.
-
iamRole
public final 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 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.
- Returns:
- 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 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.
-
toBuilder
public UpdateManagedInstanceRoleRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,UpdateManagedInstanceRoleRequest>
- Specified by:
toBuilder
in classSsmRequest
-
builder
public static UpdateManagedInstanceRoleRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateManagedInstanceRoleRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-