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 -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringiamRole()The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.final StringThe ID of the managed node where you want to update the role.static Class<? extends UpdateManagedInstanceRoleRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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 the IAM service role required for Systems Manager in hybrid and multicloud environments 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 the IAM service role required for Systems Manager in hybrid and multicloud environments 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
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,UpdateManagedInstanceRoleRequest> - Specified by:
toBuilderin classSsmRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-