Interface ListAvailableManagedRuleGroupVersionsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListAvailableManagedRuleGroupVersionsResponse.Builder,ListAvailableManagedRuleGroupVersionsResponse>, SdkBuilder<ListAvailableManagedRuleGroupVersionsResponse.Builder,ListAvailableManagedRuleGroupVersionsResponse>, SdkPojo, SdkResponse.Builder, Wafv2Response.Builder
Enclosing class:
ListAvailableManagedRuleGroupVersionsResponse

  • Method Details

    • nextMarker

      When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value 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 a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value 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

      The versions that are currently available for the specified managed rule group. If you specified a Limit in 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 a Limit in 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

      The versions that are currently available for the specified managed rule group. If you specified a Limit in 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 a Limit in 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

      The versions that are currently available for the specified managed rule group. If you specified a Limit in your request, this might not be the full list.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to versions(List<ManagedRuleGroupVersion>).

      Parameters:
      versions - a consumer that will call methods on ManagedRuleGroupVersion.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.