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) TheChangeTokenthat you used to submit theCreateSizeConstraintSetrequest.sizeConstraintSet(Consumer<SizeConstraintSet.Builder> sizeConstraintSet) A SizeConstraintSet that contains noSizeConstraintobjects.sizeConstraintSet(SizeConstraintSet sizeConstraintSet) A SizeConstraintSet that contains noSizeConstraintobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
sizeConstraintSet
A SizeConstraintSet that contains no
SizeConstraintobjects.- Parameters:
sizeConstraintSet- A SizeConstraintSet that contains noSizeConstraintobjects.- 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 theSizeConstraintobjects.SizeConstraintSet.Builderavoiding the need to create one manually viaSizeConstraintSet.builder().When the
Consumercompletes,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
ChangeTokenthat you used to submit theCreateSizeConstraintSetrequest. 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 theCreateSizeConstraintSetrequest. 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.
-