Interface DescribeClusterPeersRequest.Builder

  • Method Details

    • clusterPeerIds

      DescribeClusterPeersRequest.Builder clusterPeerIds(Collection<String> 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, a ClusterPeerNotFound error occurs.

      Parameters:
      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, a ClusterPeerNotFound error occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clusterPeerIds

      DescribeClusterPeersRequest.Builder clusterPeerIds(String... 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, a ClusterPeerNotFound error occurs.

      Parameters:
      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, a ClusterPeerNotFound error 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 is file-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 is file-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.

      This is a convenience method that creates an instance of the ClusterPeerFilter.Builder avoiding the need to create one manually via ClusterPeerFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<ClusterPeerFilter>).

      Parameters:
      filters - a consumer that will call methods on ClusterPeerFilter.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.