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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyClusterIamRolesRequest.Builder
addIamRoles(String... addIamRoles)
Zero or more IAM roles to associate with the cluster.ModifyClusterIamRolesRequest.Builder
addIamRoles(Collection<String> addIamRoles)
Zero or more IAM roles to associate with the cluster.ModifyClusterIamRolesRequest.Builder
clusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.ModifyClusterIamRolesRequest.Builder
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.ModifyClusterIamRolesRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyClusterIamRolesRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyClusterIamRolesRequest.Builder
removeIamRoles(String... removeIamRoles)
Zero or more IAM roles in ARN format to disassociate from the cluster.ModifyClusterIamRolesRequest.Builder
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 Detail
-
clusterIdentifier
ModifyClusterIamRolesRequest.Builder clusterIdentifier(String 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
ModifyClusterIamRolesRequest.Builder addIamRoles(Collection<String> 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
ModifyClusterIamRolesRequest.Builder addIamRoles(String... 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
ModifyClusterIamRolesRequest.Builder removeIamRoles(Collection<String> 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
ModifyClusterIamRolesRequest.Builder removeIamRoles(String... 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
ModifyClusterIamRolesRequest.Builder 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.
- 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyClusterIamRolesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-