Interface DescribeSnapmirrorRelationshipsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeSnapmirrorRelationshipsRequest.Builder,,DescribeSnapmirrorRelationshipsRequest> FSxRequest.Builder,SdkBuilder<DescribeSnapmirrorRelationshipsRequest.Builder,,DescribeSnapmirrorRelationshipsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeSnapmirrorRelationshipsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<SnapmirrorRelationshipFilter> filters) The filters structure.filters(Consumer<SnapmirrorRelationshipFilter.Builder>... filters) The filters structure.filters(SnapmirrorRelationshipFilter... 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.snapmirrorRelationshipIds(String... snapmirrorRelationshipIds) The IDs of the SnapMirror relationships that you want to retrieve.snapmirrorRelationshipIds(Collection<String> snapmirrorRelationshipIds) The IDs of the SnapMirror relationships 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
-
snapmirrorRelationshipIds
DescribeSnapmirrorRelationshipsRequest.Builder snapmirrorRelationshipIds(Collection<String> snapmirrorRelationshipIds) The IDs of the SnapMirror relationships that you want to retrieve. If you also specify
Filters, only SnapMirror relationships that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapmirrorRelationshipNotFounderror occurs.- Parameters:
snapmirrorRelationshipIds- The IDs of the SnapMirror relationships that you want to retrieve. If you also specifyFilters, only SnapMirror relationships that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapmirrorRelationshipNotFounderror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapmirrorRelationshipIds
DescribeSnapmirrorRelationshipsRequest.Builder snapmirrorRelationshipIds(String... snapmirrorRelationshipIds) The IDs of the SnapMirror relationships that you want to retrieve. If you also specify
Filters, only SnapMirror relationships that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapmirrorRelationshipNotFounderror occurs.- Parameters:
snapmirrorRelationshipIds- The IDs of the SnapMirror relationships that you want to retrieve. If you also specifyFilters, only SnapMirror relationships that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, aSnapmirrorRelationshipNotFounderror occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSnapmirrorRelationshipsRequest.Builder filters(Collection<SnapmirrorRelationshipFilter> filters) The filters structure. The supported names are
file-system-idordestination-volume-id.- Parameters:
filters- The filters structure. The supported names arefile-system-idordestination-volume-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-idordestination-volume-id.- Parameters:
filters- The filters structure. The supported names arefile-system-idordestination-volume-id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
DescribeSnapmirrorRelationshipsRequest.Builder filters(Consumer<SnapmirrorRelationshipFilter.Builder>... filters) The filters structure. The supported names are
This is a convenience method that creates an instance of thefile-system-idordestination-volume-id.SnapmirrorRelationshipFilter.Builderavoiding the need to create one manually viaSnapmirrorRelationshipFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<SnapmirrorRelationshipFilter>).- Parameters:
filters- a consumer that will call methods onSnapmirrorRelationshipFilter.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
DescribeSnapmirrorRelationshipsRequest.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
DescribeSnapmirrorRelationshipsRequest.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.
-