Interface ListFileSharesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListFileSharesResponse.Builder,ListFileSharesResponse>, SdkBuilder<ListFileSharesResponse.Builder,ListFileSharesResponse>, SdkPojo, SdkResponse.Builder, StorageGatewayResponse.Builder
Enclosing class:
ListFileSharesResponse

public static interface ListFileSharesResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListFileSharesResponse.Builder,ListFileSharesResponse>
  • Method Details

    • marker

      If the request includes Marker, the response returns that value in this field.

      Parameters:
      marker - If the request includes Marker, the response returns that value in this field.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextMarker

      ListFileSharesResponse.Builder nextMarker(String nextMarker)

      If a value is present, there are more file shares to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file shares.

      Parameters:
      nextMarker - If a value is present, there are more file shares to return. In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file shares.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileShareInfoList

      ListFileSharesResponse.Builder fileShareInfoList(Collection<FileShareInfo> fileShareInfoList)

      An array of information about the S3 File Gateway's file shares.

      Parameters:
      fileShareInfoList - An array of information about the S3 File Gateway's file shares.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileShareInfoList

      ListFileSharesResponse.Builder fileShareInfoList(FileShareInfo... fileShareInfoList)

      An array of information about the S3 File Gateway's file shares.

      Parameters:
      fileShareInfoList - An array of information about the S3 File Gateway's file shares.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileShareInfoList

      ListFileSharesResponse.Builder fileShareInfoList(Consumer<FileShareInfo.Builder>... fileShareInfoList)

      An array of information about the S3 File Gateway's file shares.

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

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

      Parameters:
      fileShareInfoList - a consumer that will call methods on FileShareInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: