Interface Policy.Builder

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

@Mutable @NotThreadSafe public static interface Policy.Builder extends SdkPojo, CopyableBuilder<Policy.Builder,Policy>
  • Method Details

    • arn

      Amazon Resource Name (ARN) for the policy.

      Parameters:
      arn - Amazon Resource Name (ARN) for the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultVersion

      Policy.Builder defaultVersion(Integer defaultVersion)

      Determines if the specified policy is the default for the team.

      Parameters:
      defaultVersion - Determines if the specified policy is the default for the team.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyType

      Policy.Builder policyType(String policyType)

      The type of policy.

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

      Policy.Builder policyType(PolicyType policyType)

      The type of policy.

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

      Policy.Builder name(String name)

      Name of the policy.

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