Interface UpdateManagedInstanceRoleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,,UpdateManagedInstanceRoleRequest> SdkBuilder<UpdateManagedInstanceRoleRequest.Builder,,UpdateManagedInstanceRoleRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
UpdateManagedInstanceRoleRequest
@Mutable
@NotThreadSafe
public static interface UpdateManagedInstanceRoleRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,UpdateManagedInstanceRoleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the Identity and Access Management (IAM) role that you want to assign to the managed node.instanceId(String instanceId) The ID of the managed node where you want to update the role.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
instanceId
The ID of the managed node where you want to update the role.
- Parameters:
instanceId- The ID of the managed node where you want to update the role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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 principalssm.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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateManagedInstanceRoleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateManagedInstanceRoleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-