Interface PolicyVersion.Builder

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

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

    • versionId

      PolicyVersion.Builder versionId(String versionId)

      The policy version ID.

      Parameters:
      versionId - The policy version ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isDefaultVersion

      PolicyVersion.Builder isDefaultVersion(Boolean isDefaultVersion)

      Specifies whether the policy version is the default.

      Parameters:
      isDefaultVersion - Specifies whether the policy version is the default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createDate

      PolicyVersion.Builder createDate(Instant createDate)

      The date and time the policy was created.

      Parameters:
      createDate - The date and time the policy was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.