Interface ListRuleGroupsNamespacesResponse.Builder
- All Superinterfaces:
AmpResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRuleGroupsNamespacesResponse.Builder,
,ListRuleGroupsNamespacesResponse> SdkBuilder<ListRuleGroupsNamespacesResponse.Builder,
,ListRuleGroupsNamespacesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRuleGroupsNamespacesResponse
public static interface ListRuleGroupsNamespacesResponse.Builder
extends AmpResponse.Builder, SdkPojo, CopyableBuilder<ListRuleGroupsNamespacesResponse.Builder,ListRuleGroupsNamespacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionPagination token to use when requesting the next page in this list.ruleGroupsNamespaces
(Collection<RuleGroupsNamespaceSummary> ruleGroupsNamespaces) The list of the selected rule groups namespaces.ruleGroupsNamespaces
(Consumer<RuleGroupsNamespaceSummary.Builder>... ruleGroupsNamespaces) The list of the selected rule groups namespaces.ruleGroupsNamespaces
(RuleGroupsNamespaceSummary... ruleGroupsNamespaces) The list of the selected rule groups namespaces.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
ruleGroupsNamespaces
ListRuleGroupsNamespacesResponse.Builder ruleGroupsNamespaces(Collection<RuleGroupsNamespaceSummary> ruleGroupsNamespaces) The list of the selected rule groups namespaces.
- Parameters:
ruleGroupsNamespaces
- The list of the selected rule groups namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroupsNamespaces
ListRuleGroupsNamespacesResponse.Builder ruleGroupsNamespaces(RuleGroupsNamespaceSummary... ruleGroupsNamespaces) The list of the selected rule groups namespaces.
- Parameters:
ruleGroupsNamespaces
- The list of the selected rule groups namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroupsNamespaces
ListRuleGroupsNamespacesResponse.Builder ruleGroupsNamespaces(Consumer<RuleGroupsNamespaceSummary.Builder>... ruleGroupsNamespaces) The list of the selected rule groups namespaces.
This is a convenience method that creates an instance of theRuleGroupsNamespaceSummary.Builder
avoiding the need to create one manually viaRuleGroupsNamespaceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruleGroupsNamespaces(List<RuleGroupsNamespaceSummary>)
.- Parameters:
ruleGroupsNamespaces
- a consumer that will call methods onRuleGroupsNamespaceSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token to use when requesting the next page in this list.
- Parameters:
nextToken
- Pagination token to use when requesting the next page in this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-