Interface UpdateTemplateResponse.Builder

  • Method Details

    • templateId

      UpdateTemplateResponse.Builder templateId(String 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

      UpdateTemplateResponse.Builder templateArn(String 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

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

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

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

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

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

      UpdateTemplateResponse.Builder updateToken(String 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

      UpdateTemplateResponse.Builder isSnapshot(Boolean 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

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

      UpdateTemplateResponse.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 resource was last updated.

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