Interface DescribeSnapshotPoliciesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeSnapshotPoliciesRequest.Builder,,DescribeSnapshotPoliciesRequest> FSxRequest.Builder,SdkBuilder<DescribeSnapshotPoliciesRequest.Builder,,DescribeSnapshotPoliciesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeSnapshotPoliciesRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<SnapshotPolicyFilter> filters) The filters structure.filters(Consumer<SnapshotPolicyFilter.Builder>... filters) The filters structure.filters(SnapshotPolicyFilter... filters) The filters structure.maxResults(Integer maxResults) Sets the value of the MaxResults property for this object.Sets the value of the NextToken property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotPolicyIds(String... snapshotPolicyIds) The IDs of the snapshot policies that you want to retrieve.snapshotPolicyIds(Collection<String> snapshotPolicyIds) The IDs of the snapshot policies that you want to retrieve.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.fsx.model.FSxRequest.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
-
snapshotPolicyIds
The IDs of the snapshot policies that you want to retrieve. If you also specify
Filters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapshotPolicyNotFounderror occurs.- Parameters:
snapshotPolicyIds- The IDs of the snapshot policies that you want to retrieve. If you also specifyFilters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapshotPolicyNotFounderror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotPolicyIds
The IDs of the snapshot policies that you want to retrieve. If you also specify
Filters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapshotPolicyNotFounderror occurs.- Parameters:
snapshotPolicyIds- The IDs of the snapshot policies that you want to retrieve. If you also specifyFilters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapshotPolicyNotFounderror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters structure. The supported names are
file-system-idorstorage-virtual-machine-id.- Parameters:
filters- The filters structure. The supported names arefile-system-idorstorage-virtual-machine-id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters structure. The supported names are
file-system-idorstorage-virtual-machine-id.- Parameters:
filters- The filters structure. The supported names arefile-system-idorstorage-virtual-machine-id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters structure. The supported names are
This is a convenience method that creates an instance of thefile-system-idorstorage-virtual-machine-id.SnapshotPolicyFilter.Builderavoiding the need to create one manually viaSnapshotPolicyFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SnapshotPolicyFilter>).- Parameters:
filters- a consumer that will call methods onSnapshotPolicyFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Sets the value of the MaxResults property for this object.- Parameters:
maxResults- The new value for the MaxResults property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeSnapshotPoliciesRequest.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
DescribeSnapshotPoliciesRequest.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.
-