Interface PolicySummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PolicySummary.Builder,PolicySummary>, SdkBuilder<PolicySummary.Builder,PolicySummary>, SdkPojo
Enclosing class:
PolicySummary

public static interface PolicySummary.Builder extends SdkPojo, CopyableBuilder<PolicySummary.Builder,PolicySummary>
  • Method Details

    • 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

      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

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

      The type of policy.

      Parameters:
      type - The type of policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of policy.

      Parameters:
      type - The type of policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.