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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFileSharesResponse.BuilderfileShareInfoList(Collection<FileShareInfo> fileShareInfoList)An array of information about the S3 File Gateway's file shares.ListFileSharesResponse.BuilderfileShareInfoList(Consumer<FileShareInfo.Builder>... fileShareInfoList)An array of information about the S3 File Gateway's file shares.ListFileSharesResponse.BuilderfileShareInfoList(FileShareInfo... fileShareInfoList)An array of information about the S3 File Gateway's file shares.ListFileSharesResponse.Buildermarker(String marker)If the request includesMarker, the response returns that value in this field.ListFileSharesResponse.BuildernextMarker(String nextMarker)If a value is present, there are more file shares to return.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
marker
ListFileSharesResponse.Builder marker(String marker)
If the request includes
Marker, the response returns that value in this field.- Parameters:
marker- If the request includesMarker, 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
NextMarkeras the value forMarkerto 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, useNextMarkeras the value forMarkerto 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 theFileShareInfo.Builderavoiding the need to create one manually viaFileShareInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fileShareInfoList(List.) - Parameters:
fileShareInfoList- a consumer that will call methods onFileShareInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fileShareInfoList(java.util.Collection)
-
-