Interface CreateSizeConstraintSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateSizeConstraintSetResponse.Builder,
,CreateSizeConstraintSetResponse> SdkBuilder<CreateSizeConstraintSetResponse.Builder,
,CreateSizeConstraintSetResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
CreateSizeConstraintSetResponse
public static interface CreateSizeConstraintSetResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<CreateSizeConstraintSetResponse.Builder,CreateSizeConstraintSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchangeToken
(String changeToken) TheChangeToken
that you used to submit theCreateSizeConstraintSet
request.sizeConstraintSet
(Consumer<SizeConstraintSet.Builder> sizeConstraintSet) A SizeConstraintSet that contains noSizeConstraint
objects.sizeConstraintSet
(SizeConstraintSet sizeConstraintSet) A SizeConstraintSet that contains noSizeConstraint
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 Details
-
sizeConstraintSet
A SizeConstraintSet that contains no
SizeConstraint
objects.- Parameters:
sizeConstraintSet
- A SizeConstraintSet that contains noSizeConstraint
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeConstraintSet
default CreateSizeConstraintSetResponse.Builder sizeConstraintSet(Consumer<SizeConstraintSet.Builder> sizeConstraintSet) A SizeConstraintSet that contains no
This is a convenience method that creates an instance of theSizeConstraint
objects.SizeConstraintSet.Builder
avoiding the need to create one manually viaSizeConstraintSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosizeConstraintSet(SizeConstraintSet)
.- Parameters:
sizeConstraintSet
- a consumer that will call methods onSizeConstraintSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
changeToken
The
ChangeToken
that you used to submit theCreateSizeConstraintSet
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken
- TheChangeToken
that you used to submit theCreateSizeConstraintSet
request. 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.
-