Interface PolicySummary.Builder

    • Method Detail

      • id

        PolicySummary.Builder id​(String id)

        The unique identifier (ID) of the policy.

        The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

        Parameters:
        id - The unique identifier (ID) of the policy.

        The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).

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

        PolicySummary.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the policy.

        For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the policy.

        For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

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

        PolicySummary.Builder name​(String name)

        The friendly name of the policy.

        The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

        Parameters:
        name - The friendly name of the policy.

        The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

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

        PolicySummary.Builder description​(String description)

        The description of the policy.

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

        PolicySummary.Builder awsManaged​(Boolean awsManaged)

        A boolean value that indicates whether the specified policy is an Amazon Web Services managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.

        Parameters:
        awsManaged - A boolean value that indicates whether the specified policy is an Amazon Web Services managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.