Interface ModifyClusterIamRolesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyClusterIamRolesRequest.Builder,
,ModifyClusterIamRolesRequest> RedshiftRequest.Builder
,SdkBuilder<ModifyClusterIamRolesRequest.Builder,
,ModifyClusterIamRolesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyClusterIamRolesRequest
public static interface ModifyClusterIamRolesRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<ModifyClusterIamRolesRequest.Builder,ModifyClusterIamRolesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaddIamRoles
(String... addIamRoles) Zero or more IAM roles to associate with the cluster.addIamRoles
(Collection<String> addIamRoles) Zero or more IAM roles to associate with the cluster.clusterIdentifier
(String clusterIdentifier) The unique identifier of the cluster for which you want to associate or disassociate IAM roles.defaultIamRoleArn
(String defaultIamRoleArn) The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeIamRoles
(String... removeIamRoles) Zero or more IAM roles in ARN format to disassociate from the cluster.removeIamRoles
(Collection<String> removeIamRoles) Zero or more IAM roles in ARN format to disassociate from the cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clusterIdentifier
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
- Parameters:
clusterIdentifier
- The unique identifier of the cluster for which you want to associate or disassociate IAM roles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addIamRoles
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
- Parameters:
addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addIamRoles
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
- Parameters:
addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeIamRoles
Zero or more IAM roles in ARN format to disassociate from the cluster.
- Parameters:
removeIamRoles
- Zero or more IAM roles in ARN format to disassociate from the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeIamRoles
Zero or more IAM roles in ARN format to disassociate from the cluster.
- Parameters:
removeIamRoles
- Zero or more IAM roles in ARN format to disassociate from the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultIamRoleArn
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
- Parameters:
defaultIamRoleArn
- The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyClusterIamRolesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyClusterIamRolesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-