Interface GetRegexPatternSetResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetRegexPatternSetResponse.Builder,GetRegexPatternSetResponse>, SdkBuilder<GetRegexPatternSetResponse.Builder,GetRegexPatternSetResponse>, SdkPojo, SdkResponse.Builder, Wafv2Response.Builder
Enclosing class:
GetRegexPatternSetResponse

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

    • regexPatternSet

      GetRegexPatternSetResponse.Builder regexPatternSet(RegexPatternSet regexPatternSet)

      Parameters:
      regexPatternSet -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regexPatternSet

      default GetRegexPatternSetResponse.Builder regexPatternSet(Consumer<RegexPatternSet.Builder> regexPatternSet)

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to regexPatternSet(RegexPatternSet).

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

      A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

      Parameters:
      lockToken - A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.