Interface ModifyClusterIamRolesRequest.Builder

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