Interface DescribeClusterPeersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClusterPeersResponse.Builder,,DescribeClusterPeersResponse> FSxResponse.Builder,SdkBuilder<DescribeClusterPeersResponse.Builder,,DescribeClusterPeersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeClusterPeersResponse
@Mutable
@NotThreadSafe
public static interface DescribeClusterPeersResponse.Builder
extends FSxResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterPeersResponse.Builder,DescribeClusterPeersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterPeers(Collection<ClusterPeer> clusterPeers) Describes each cluster peer returned by theDescribeClusterPeersoperation.clusterPeers(Consumer<ClusterPeer.Builder>... clusterPeers) Describes each cluster peer returned by theDescribeClusterPeersoperation.clusterPeers(ClusterPeer... clusterPeers) Describes each cluster peer returned by theDescribeClusterPeersoperation.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
clusterPeers
Describes each cluster peer returned by the
DescribeClusterPeersoperation.- Parameters:
clusterPeers- Describes each cluster peer returned by theDescribeClusterPeersoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterPeers
Describes each cluster peer returned by the
DescribeClusterPeersoperation.- Parameters:
clusterPeers- Describes each cluster peer returned by theDescribeClusterPeersoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterPeers
Describes each cluster peer returned by the
This is a convenience method that creates an instance of theDescribeClusterPeersoperation.ClusterPeer.Builderavoiding the need to create one manually viaClusterPeer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterPeers(List<ClusterPeer>).- Parameters:
clusterPeers- a consumer that will call methods onClusterPeer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-