Interface PolicyVersion.Builder

  • Method Details

    • arn

      Amazon Resource Name (ARN) for the team.

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

      PolicyVersion.Builder policyArn(String policyArn)

      Amazon Resource Name (ARN) for the policy.

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

      PolicyVersion.Builder versionId(Integer versionId)

      Verison ID

      Parameters:
      versionId - Verison ID
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyType

      PolicyVersion.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

      PolicyVersion.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:
    • isDefault

      PolicyVersion.Builder isDefault(Boolean isDefault)

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

      Parameters:
      isDefault - 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.
    • 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.
    • status

      PolicyVersion.Builder status(String status)

      Status for the policy. For example, if the policy is attachable or deprecated.

      Parameters:
      status - Status for the policy. For example, if the policy is attachable or deprecated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status for the policy. For example, if the policy is attachable or deprecated.

      Parameters:
      status - Status for the policy. For example, if the policy is attachable or deprecated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      PolicyVersion.Builder creationTime(Instant creationTime)

      Timestamp when the policy was created.

      Parameters:
      creationTime - Timestamp when the policy was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      PolicyVersion.Builder lastUpdatedTime(Instant lastUpdatedTime)

      Timestamp when the policy was last updated.

      Parameters:
      lastUpdatedTime - Timestamp when the policy was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • document

      PolicyVersion.Builder document(String document)

      Document that contains the policy contents.

      Parameters:
      document - Document that contains the policy contents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.