Interface DeleteRoleAssociationRequest.Builder

  • Method Details

    • targetArn

      The Amazon Resource Name (ARN) of the default endpoint. Only express-default is supported, and it must be in the same Amazon Web Services account as the caller. The ARN format is arn:aws-partition:redshift-serverless:region:account-id:workgroup/express/express-default, for example arn:aws:redshift-serverless:us-east-1:111122223333:workgroup/express/express-default.

      Parameters:
      targetArn - The Amazon Resource Name (ARN) of the default endpoint. Only express-default is supported, and it must be in the same Amazon Web Services account as the caller. The ARN format is arn:aws-partition:redshift-serverless:region:account-id:workgroup/express/express-default , for example arn:aws:redshift-serverless:us-east-1:111122223333:workgroup/express/express-default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleType

      The case-sensitive system-defined role to remove the principal from. Valid values are sys:superuser, sys:operator, sys:dba, sys:secadmin, and sys:monitor.

      Parameters:
      roleType - The case-sensitive system-defined role to remove the principal from. Valid values are sys:superuser, sys:operator, sys:dba, sys:secadmin , and sys:monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      The IAM role or IAM user to remove from the role type. Specify the ARN used to create the association. The IAM principal doesn't need to exist when you delete the association.

      Parameters:
      principal - The IAM role or IAM user to remove from the role type. Specify the ARN used to create the association. The IAM principal doesn't need to exist when you delete the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      The IAM role or IAM user to remove from the role type. Specify the ARN used to create the association. The IAM principal doesn't need to exist when you delete the association.

      This is a convenience method that creates an instance of the PrincipalInput.Builder avoiding the need to create one manually via PrincipalInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to principal(PrincipalInput).

      Parameters:
      principal - a consumer that will call methods on PrincipalInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      DeleteRoleAssociationRequest.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.