Interface RegisterDefaultHostManagementConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterDefaultHostManagementConfigurationRequest.Builder,,RegisterDefaultHostManagementConfigurationRequest> SdkBuilder<RegisterDefaultHostManagementConfigurationRequest.Builder,,RegisterDefaultHostManagementConfigurationRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
RegisterDefaultHostManagementConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies whether to override the role that is currently registered for Default Host Management Configuration.permissionModel(String permissionModel) The permission model that determines how the IAM role for Default Host Management Configuration is provided.permissionModel(DHMCPermissionModel permissionModel) The permission model that determines how the IAM role for Default Host Management Configuration is provided.The Amazon Resource Name (ARN) of the self-managed IAM role that you register for Default Host Management 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
-
permissionModel
The permission model that determines how the IAM role for Default Host Management Configuration is provided.
The permission model can be one of the following values:
- SERVICE_MANAGED
-
Amazon Web Services Systems Manager creates and manages the role on your behalf.
- SELF_MANAGED
-
You provide the role to register in
RoleArn.
- Parameters:
permissionModel- The permission model that determines how the IAM role for Default Host Management Configuration is provided.The permission model can be one of the following values:
- SERVICE_MANAGED
-
Amazon Web Services Systems Manager creates and manages the role on your behalf.
- SELF_MANAGED
-
You provide the role to register in
RoleArn.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionModel
RegisterDefaultHostManagementConfigurationRequest.Builder permissionModel(DHMCPermissionModel permissionModel) The permission model that determines how the IAM role for Default Host Management Configuration is provided.
The permission model can be one of the following values:
- SERVICE_MANAGED
-
Amazon Web Services Systems Manager creates and manages the role on your behalf.
- SELF_MANAGED
-
You provide the role to register in
RoleArn.
- Parameters:
permissionModel- The permission model that determines how the IAM role for Default Host Management Configuration is provided.The permission model can be one of the following values:
- SERVICE_MANAGED
-
Amazon Web Services Systems Manager creates and manages the role on your behalf.
- SELF_MANAGED
-
You provide the role to register in
RoleArn.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the self-managed IAM role that you register for Default Host Management Configuration. The requirement for this value depends on the permission model:
-
If
PermissionModelisSELF_MANAGED, this value is required. -
If
PermissionModelisSERVICE_MANAGED, this value must not be set.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the self-managed IAM role that you register for Default Host Management Configuration. The requirement for this value depends on the permission model:-
If
PermissionModelisSELF_MANAGED, this value is required. -
If
PermissionModelisSERVICE_MANAGED, this value must not be set.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overwrite
Specifies whether to override the role that is currently registered for Default Host Management Configuration. The default is
false, which acts as a guardrail against accidentally replacing an existing configuration. Set this totrueto replace the currently registered role.- Parameters:
overwrite- Specifies whether to override the role that is currently registered for Default Host Management Configuration. The default isfalse, which acts as a guardrail against accidentally replacing an existing configuration. Set this totrueto replace the currently registered role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RegisterDefaultHostManagementConfigurationRequest.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
RegisterDefaultHostManagementConfigurationRequest.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.
-