Interface CreateRegexPatternSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRegexPatternSetResponse.Builder,CreateRegexPatternSetResponse>,SdkBuilder<CreateRegexPatternSetResponse.Builder,CreateRegexPatternSetResponse>,SdkPojo,SdkResponse.Builder,WafResponse.Builder
- Enclosing class:
- CreateRegexPatternSetResponse
public static interface CreateRegexPatternSetResponse.Builder extends WafResponse.Builder, SdkPojo, CopyableBuilder<CreateRegexPatternSetResponse.Builder,CreateRegexPatternSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRegexPatternSetResponse.BuilderchangeToken(String changeToken)TheChangeTokenthat you used to submit theCreateRegexPatternSetrequest.default CreateRegexPatternSetResponse.BuilderregexPatternSet(Consumer<RegexPatternSet.Builder> regexPatternSet)A RegexPatternSet that contains no objects.CreateRegexPatternSetResponse.BuilderregexPatternSet(RegexPatternSet regexPatternSet)A RegexPatternSet that contains no objects.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
regexPatternSet
CreateRegexPatternSetResponse.Builder regexPatternSet(RegexPatternSet regexPatternSet)
A RegexPatternSet that contains no objects.
- Parameters:
regexPatternSet- A RegexPatternSet that contains no objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexPatternSet
default CreateRegexPatternSetResponse.Builder regexPatternSet(Consumer<RegexPatternSet.Builder> regexPatternSet)
A RegexPatternSet that contains no objects.
This is a convenience method that creates an instance of theRegexPatternSet.Builderavoiding the need to create one manually viaRegexPatternSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregexPatternSet(RegexPatternSet).- Parameters:
regexPatternSet- a consumer that will call methods onRegexPatternSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
regexPatternSet(RegexPatternSet)
-
changeToken
CreateRegexPatternSetResponse.Builder changeToken(String changeToken)
The
ChangeTokenthat you used to submit theCreateRegexPatternSetrequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken- TheChangeTokenthat you used to submit theCreateRegexPatternSetrequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-