Interface ListPoliciesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPoliciesRequest.Builder,,ListPoliciesRequest> FmsRequest.Builder,SdkBuilder<ListPoliciesRequest.Builder,,ListPoliciesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPoliciesRequest
public static interface ListPoliciesRequest.Builder
extends FmsRequest.Builder, SdkPojo, CopyableBuilder<ListPoliciesRequest.Builder,ListPoliciesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) Specifies the number ofPolicySummaryobjects that you want Firewall Manager to return for this request.If you specify a value forMaxResultsand you have morePolicySummaryobjects than the number that you specify forMaxResults, Firewall Manager returns aNextTokenvalue in the response that allows you to list another group ofPolicySummaryobjects.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
nextToken
If you specify a value for
MaxResultsand you have morePolicySummaryobjects than the number that you specify forMaxResults, Firewall Manager returns aNextTokenvalue in the response that allows you to list another group ofPolicySummaryobjects. For the second and subsequentListPoliciesrequests, specify the value ofNextTokenfrom the previous response to get information about another batch ofPolicySummaryobjects.- Parameters:
nextToken- If you specify a value forMaxResultsand you have morePolicySummaryobjects than the number that you specify forMaxResults, Firewall Manager returns aNextTokenvalue in the response that allows you to list another group ofPolicySummaryobjects. For the second and subsequentListPoliciesrequests, specify the value ofNextTokenfrom the previous response to get information about another batch ofPolicySummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Specifies the number of
PolicySummaryobjects that you want Firewall Manager to return for this request. If you have morePolicySummaryobjects than the number that you specify forMaxResults, the response includes aNextTokenvalue that you can use to get another batch ofPolicySummaryobjects.- Parameters:
maxResults- Specifies the number ofPolicySummaryobjects that you want Firewall Manager to return for this request. If you have morePolicySummaryobjects than the number that you specify forMaxResults, the response includes aNextTokenvalue that you can use to get another batch ofPolicySummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-