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