JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.redshift.model

Class ModifyClusterIamRolesRequest

    • Constructor Detail

      • ModifyClusterIamRolesRequest

        public ModifyClusterIamRolesRequest()
    • Method Detail

      • setClusterIdentifier

        public void setClusterIdentifier(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.
      • getClusterIdentifier

        public String getClusterIdentifier()

        The unique identifier of the cluster for which you want to associate or disassociate IAM roles.

        Returns:
        The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
      • withClusterIdentifier

        public ModifyClusterIamRolesRequest withClusterIdentifier(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.
      • getAddIamRoles

        public List<String> getAddIamRoles()

        Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.

        Returns:
        Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.
      • setAddIamRoles

        public void setAddIamRoles(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.
      • withAddIamRoles

        public ModifyClusterIamRolesRequest withAddIamRoles(String... addIamRoles)

        Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format.

        NOTE: This method appends the values to the existing list (if any). Use setAddIamRoles(java.util.Collection) or withAddIamRoles(java.util.Collection) if you want to override the existing values.

        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.
      • withAddIamRoles

        public ModifyClusterIamRolesRequest withAddIamRoles(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.
      • getRemoveIamRoles

        public List<String> getRemoveIamRoles()

        Zero or more IAM roles in ARN format to disassociate from the cluster.

        Returns:
        Zero or more IAM roles in ARN format to disassociate from the cluster.
      • setRemoveIamRoles

        public void setRemoveIamRoles(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.
      • withRemoveIamRoles

        public ModifyClusterIamRolesRequest withRemoveIamRoles(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.
      • setDefaultIamRoleArn

        public void setDefaultIamRoleArn(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.
      • getDefaultIamRoleArn

        public String getDefaultIamRoleArn()

        The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.

        Returns:
        The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
      • withDefaultIamRoleArn

        public ModifyClusterIamRolesRequest withDefaultIamRoleArn(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /