Interface CreateGeoMatchSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGeoMatchSetResponse.Builder,,CreateGeoMatchSetResponse> SdkBuilder<CreateGeoMatchSetResponse.Builder,,CreateGeoMatchSetResponse> SdkPojo,SdkResponse.Builder,WafResponse.Builder
- Enclosing class:
CreateGeoMatchSetResponse
@Mutable
@NotThreadSafe
public static interface CreateGeoMatchSetResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<CreateGeoMatchSetResponse.Builder,CreateGeoMatchSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchangeToken(String changeToken) TheChangeTokenthat you used to submit theCreateGeoMatchSetrequest.geoMatchSet(Consumer<GeoMatchSet.Builder> geoMatchSet) The GeoMatchSet returned in theCreateGeoMatchSetresponse.geoMatchSet(GeoMatchSet geoMatchSet) The GeoMatchSet returned in theCreateGeoMatchSetresponse.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, sdkFieldNameToField, 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
-
geoMatchSet
The GeoMatchSet returned in the
CreateGeoMatchSetresponse. TheGeoMatchSetcontains noGeoMatchConstraints.- Parameters:
geoMatchSet- The GeoMatchSet returned in theCreateGeoMatchSetresponse. TheGeoMatchSetcontains noGeoMatchConstraints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoMatchSet
The GeoMatchSet returned in the
This is a convenience method that creates an instance of theCreateGeoMatchSetresponse. TheGeoMatchSetcontains noGeoMatchConstraints.GeoMatchSet.Builderavoiding the need to create one manually viaGeoMatchSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeoMatchSet(GeoMatchSet).- Parameters:
geoMatchSet- a consumer that will call methods onGeoMatchSet.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 theCreateGeoMatchSetrequest. 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 theCreateGeoMatchSetrequest. 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.
-