Interface ListSecurityPoliciesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSecurityPoliciesRequest.Builder,,ListSecurityPoliciesRequest> OpenSearchServerlessRequest.Builder,SdkBuilder<ListSecurityPoliciesRequest.Builder,,ListSecurityPoliciesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListSecurityPoliciesRequest
public static interface ListSecurityPoliciesRequest.Builder
extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<ListSecurityPoliciesRequest.Builder,ListSecurityPoliciesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initialListSecurityPoliciesoperation returns anextToken, you can include the returnednextTokenin subsequentListSecurityPoliciesoperations, which returns results in the next page.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Resource filters (can be collection or indexes) that policies can apply to.resource(Collection<String> resource) Resource filters (can be collection or indexes) that policies can apply to.The type of policy.type(SecurityPolicyType type) The type of policy.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.opensearchserverless.model.OpenSearchServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maxResults
An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. The default is 20.- Parameters:
maxResults- An optional parameter that specifies the maximum number of results to return. You can usenextTokento get the next page of results. The default is 20.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If your initial
ListSecurityPoliciesoperation returns anextToken, you can include the returnednextTokenin subsequentListSecurityPoliciesoperations, which returns results in the next page.- Parameters:
nextToken- If your initialListSecurityPoliciesoperation returns anextToken, you can include the returnednextTokenin subsequentListSecurityPoliciesoperations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Resource filters (can be collection or indexes) that policies can apply to.
- Parameters:
resource- Resource filters (can be collection or indexes) that policies can apply to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
Resource filters (can be collection or indexes) that policies can apply to.
- Parameters:
resource- Resource filters (can be collection or indexes) that policies can apply to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of policy.
- Parameters:
type- The type of policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of policy.
- Parameters:
type- The type of policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListSecurityPoliciesRequest.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
ListSecurityPoliciesRequest.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.
-