Class PolicyRole

    • Constructor Detail

      • PolicyRole

        public PolicyRole()
    • Method Detail

      • setRoleName

        public void setRoleName​(String roleName)

        The name (friendly name, not ARN) identifying the role.

        Parameters:
        roleName - The name (friendly name, not ARN) identifying the role.
      • getRoleName

        public String getRoleName()

        The name (friendly name, not ARN) identifying the role.

        Returns:
        The name (friendly name, not ARN) identifying the role.
      • withRoleName

        public PolicyRole withRoleName​(String roleName)

        The name (friendly name, not ARN) identifying the role.

        Parameters:
        roleName - The name (friendly name, not ARN) identifying the role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRoleId

        public void setRoleId​(String roleId)

        The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide.

        Parameters:
        roleId - The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide.
      • getRoleId

        public String getRoleId()

        The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide.

        Returns:
        The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide.
      • withRoleId

        public PolicyRole withRoleId​(String roleId)

        The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide.

        Parameters:
        roleId - The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide.
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object