Interface GetGeoMatchSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGeoMatchSetResponse.Builder,
,GetGeoMatchSetResponse> SdkBuilder<GetGeoMatchSetResponse.Builder,
,GetGeoMatchSetResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
GetGeoMatchSetResponse
public static interface GetGeoMatchSetResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetGeoMatchSetResponse.Builder,GetGeoMatchSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGeoMatchSetResponse.Builder
geoMatchSet
(Consumer<GeoMatchSet.Builder> geoMatchSet) Information about the GeoMatchSet that you specified in theGetGeoMatchSet
request.geoMatchSet
(GeoMatchSet geoMatchSet) Information about the GeoMatchSet that you specified in theGetGeoMatchSet
request.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
-
geoMatchSet
Information about the GeoMatchSet that you specified in the
GetGeoMatchSet
request. This includes theType
, which for aGeoMatchContraint
is alwaysCountry
, as well as theValue
, which is the identifier for a specific country.- Parameters:
geoMatchSet
- Information about the GeoMatchSet that you specified in theGetGeoMatchSet
request. This includes theType
, which for aGeoMatchContraint
is 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 theGetGeoMatchSet
request. This includes theType
, which for aGeoMatchContraint
is alwaysCountry
, as well as theValue
, which is the identifier for a specific country.GeoMatchSet.Builder
avoiding the need to create one manually viaGeoMatchSet.builder()
.When the
Consumer
completes,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:
-