Interface ModifyClusterIamRolesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyClusterIamRolesRequest.Builder,,ModifyClusterIamRolesRequest> RedshiftRequest.Builder,SdkBuilder<ModifyClusterIamRolesRequest.Builder,,ModifyClusterIamRolesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyClusterIamRolesRequest
@Mutable
@NotThreadSafe
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-