Interface ListAvailableManagedRuleGroupVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAvailableManagedRuleGroupVersionsResponse.Builder,ListAvailableManagedRuleGroupVersionsResponse>,SdkBuilder<ListAvailableManagedRuleGroupVersionsResponse.Builder,ListAvailableManagedRuleGroupVersionsResponse>,SdkPojo,SdkResponse.Builder,Wafv2Response.Builder
- Enclosing class:
- ListAvailableManagedRuleGroupVersionsResponse
public static interface ListAvailableManagedRuleGroupVersionsResponse.Builder extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<ListAvailableManagedRuleGroupVersionsResponse.Builder,ListAvailableManagedRuleGroupVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAvailableManagedRuleGroupVersionsResponse.BuildercurrentDefaultVersion(String currentDefaultVersion)The name of the version that's currently set as the default.ListAvailableManagedRuleGroupVersionsResponse.BuildernextMarker(String nextMarker)When you request a list of objects with aLimitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response.ListAvailableManagedRuleGroupVersionsResponse.Builderversions(Collection<ManagedRuleGroupVersion> versions)The versions that are currently available for the specified managed rule group.ListAvailableManagedRuleGroupVersionsResponse.Builderversions(Consumer<ManagedRuleGroupVersion.Builder>... versions)The versions that are currently available for the specified managed rule group.ListAvailableManagedRuleGroupVersionsResponse.Builderversions(ManagedRuleGroupVersion... versions)The versions that are currently available for the specified managed rule group.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
nextMarker
ListAvailableManagedRuleGroupVersionsResponse.Builder nextMarker(String nextMarker)
When you request a list of objects with a
Limitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.- Parameters:
nextMarker- When you request a list of objects with aLimitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
ListAvailableManagedRuleGroupVersionsResponse.Builder versions(Collection<ManagedRuleGroupVersion> versions)
The versions that are currently available for the specified managed rule group. If you specified a
Limitin your request, this might not be the full list.- Parameters:
versions- The versions that are currently available for the specified managed rule group. If you specified aLimitin your request, this might not be the full list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
ListAvailableManagedRuleGroupVersionsResponse.Builder versions(ManagedRuleGroupVersion... versions)
The versions that are currently available for the specified managed rule group. If you specified a
Limitin your request, this might not be the full list.- Parameters:
versions- The versions that are currently available for the specified managed rule group. If you specified aLimitin your request, this might not be the full list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
ListAvailableManagedRuleGroupVersionsResponse.Builder versions(Consumer<ManagedRuleGroupVersion.Builder>... versions)
The versions that are currently available for the specified managed rule group. If you specified a
This is a convenience method that creates an instance of theLimitin your request, this might not be the full list.ManagedRuleGroupVersion.Builderavoiding the need to create one manually viaManagedRuleGroupVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#versions(List.) - Parameters:
versions- a consumer that will call methods onManagedRuleGroupVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#versions(java.util.Collection)
-
currentDefaultVersion
ListAvailableManagedRuleGroupVersionsResponse.Builder currentDefaultVersion(String currentDefaultVersion)
The name of the version that's currently set as the default.
- Parameters:
currentDefaultVersion- The name of the version that's currently set as the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-