Interface CreateTemplateSnapshotResponse.Builder

  • Method Details

    • templateId

      The service-generated id of the template.

      Parameters:
      templateId - The service-generated id of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateArn

      The Amazon Resource Name (ARN) of the template.

      Parameters:
      templateArn - The Amazon Resource Name (ARN) of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateName

      CreateTemplateSnapshotResponse.Builder templateName(String templateName)

      The name of the template.

      Parameters:
      templateName - The name of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • templateDescription

      CreateTemplateSnapshotResponse.Builder templateDescription(String templateDescription)

      A description of the template.

      Parameters:
      templateDescription - A description of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • version

      The version of the resource.

      Parameters:
      version - The version of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRuleList

      CreateTemplateSnapshotResponse.Builder associatedRuleList(Collection<AssociatedRule> associatedRuleList)

      The rules associated with the template.

      Parameters:
      associatedRuleList - The rules associated with the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRuleList

      CreateTemplateSnapshotResponse.Builder associatedRuleList(AssociatedRule... associatedRuleList)

      The rules associated with the template.

      Parameters:
      associatedRuleList - The rules associated with the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedRuleList

      CreateTemplateSnapshotResponse.Builder associatedRuleList(Consumer<AssociatedRule.Builder>... associatedRuleList)

      The rules associated with the template.

      This is a convenience method that creates an instance of the AssociatedRule.Builder avoiding the need to create one manually via AssociatedRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associatedRuleList(List<AssociatedRule>).

      Parameters:
      associatedRuleList - a consumer that will call methods on AssociatedRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updateToken

      A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.

      Parameters:
      updateToken - A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isSnapshot

      Specifies whether the resource is a snapshot of a published version.

      Parameters:
      isSnapshot - Specifies whether the resource is a snapshot of a published version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasPublishedVersion

      CreateTemplateSnapshotResponse.Builder hasPublishedVersion(Boolean hasPublishedVersion)

      Specifies whether a published version of the resource exists.

      Parameters:
      hasPublishedVersion - Specifies whether a published version of the resource exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallType

      CreateTemplateSnapshotResponse.Builder firewallType(String firewallType)

      The firewall type associated with the resource.

      Parameters:
      firewallType - The firewall type associated with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • firewallType

      The firewall type associated with the resource.

      Parameters:
      firewallType - The firewall type associated with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      The time when the snapshot was created.

      Parameters:
      updatedAt - The time when the snapshot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.