Class AttachedPolicy

    • Constructor Detail

      • AttachedPolicy

        public AttachedPolicy()
    • Method Detail

      • setPolicyName

        public void setPolicyName​(String policyName)

        The friendly name of the attached policy.

        Parameters:
        policyName - The friendly name of the attached policy.
      • getPolicyName

        public String getPolicyName()

        The friendly name of the attached policy.

        Returns:
        The friendly name of the attached policy.
      • withPolicyName

        public AttachedPolicy withPolicyName​(String policyName)

        The friendly name of the attached policy.

        Parameters:
        policyName - The friendly name of the attached policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPolicyArn

        public void setPolicyArn​(String policyArn)
        Parameters:
        policyArn -
      • getPolicyArn

        public String getPolicyArn()
        Returns:
      • withPolicyArn

        public AttachedPolicy withPolicyArn​(String policyArn)
        Parameters:
        policyArn -
        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