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 Details

    • geoMatchSet

      GetGeoMatchSetResponse.Builder geoMatchSet(GeoMatchSet geoMatchSet)

      Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type, which for a GeoMatchContraint is always Country, as well as the Value, which is the identifier for a specific country.

      Parameters:
      geoMatchSet - Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type, which for a GeoMatchContraint is always Country, as well as the Value, which is the identifier for a specific country.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geoMatchSet

      default GetGeoMatchSetResponse.Builder geoMatchSet(Consumer<GeoMatchSet.Builder> geoMatchSet)

      Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type, which for a GeoMatchContraint is always Country, as well as the Value, which is the identifier for a specific country.

      This is a convenience method that creates an instance of the GeoMatchSet.Builder avoiding the need to create one manually via GeoMatchSet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to geoMatchSet(GeoMatchSet).

      Parameters:
      geoMatchSet - a consumer that will call methods on GeoMatchSet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: