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 Details

    • 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

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.