Interface GetRolePolicyResponse.Builder

    • Method Detail

      • roleName

        GetRolePolicyResponse.Builder roleName​(String roleName)

        The role the policy is associated with.

        Parameters:
        roleName - The role the policy is associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyName

        GetRolePolicyResponse.Builder policyName​(String policyName)

        The name of the policy.

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

        GetRolePolicyResponse.Builder policyDocument​(String policyDocument)

        The policy document.

        IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

        Parameters:
        policyDocument - The policy document.

        IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.

        Returns:
        Returns a reference to this object so that method calls can be chained together.