Interface GetGeoMatchSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGeoMatchSetResponse.Builder,,GetGeoMatchSetResponse> SdkBuilder<GetGeoMatchSetResponse.Builder,,GetGeoMatchSetResponse> SdkPojo,SdkResponse.Builder,WafResponse.Builder
- Enclosing class:
GetGeoMatchSetResponse
@Mutable
@NotThreadSafe
public static interface GetGeoMatchSetResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetGeoMatchSetResponse.Builder,GetGeoMatchSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGeoMatchSetResponse.BuildergeoMatchSet(Consumer<GeoMatchSet.Builder> geoMatchSet) Information about the GeoMatchSet that you specified in theGetGeoMatchSetrequest.geoMatchSet(GeoMatchSet geoMatchSet) Information about the GeoMatchSet that you specified in theGetGeoMatchSetrequest.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
Information about the GeoMatchSet that you specified in the
GetGeoMatchSetrequest. This includes theType, which for aGeoMatchContraintis alwaysCountry, as well as theValue, which is the identifier for a specific country.- Parameters:
geoMatchSet- Information about the GeoMatchSet that you specified in theGetGeoMatchSetrequest. This includes theType, which for aGeoMatchContraintis alwaysCountry, as well as theValue, which is the identifier for a specific country.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoMatchSet
Information about the GeoMatchSet that you specified in the
This is a convenience method that creates an instance of theGetGeoMatchSetrequest. This includes theType, which for aGeoMatchContraintis alwaysCountry, as well as theValue, which is the identifier for a specific country.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:
-