Interface ListSharesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSharesResponse.Builder,ListSharesResponse>,OmicsResponse.Builder,SdkBuilder<ListSharesResponse.Builder,ListSharesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSharesResponse
public static interface ListSharesResponse.Builder extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListSharesResponse.Builder,ListSharesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSharesResponse.BuildernextToken(String nextToken)Next token returned in the response of a previous ListSharesResponse call.ListSharesResponse.Buildershares(Collection<ShareDetails> shares)The shares available and their metadata details.ListSharesResponse.Buildershares(Consumer<ShareDetails.Builder>... shares)The shares available and their metadata details.ListSharesResponse.Buildershares(ShareDetails... shares)The shares available and their metadata details.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
shares
ListSharesResponse.Builder shares(Collection<ShareDetails> shares)
The shares available and their metadata details.
- Parameters:
shares- The shares available and their metadata details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shares
ListSharesResponse.Builder shares(ShareDetails... shares)
The shares available and their metadata details.
- Parameters:
shares- The shares available and their metadata details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shares
ListSharesResponse.Builder shares(Consumer<ShareDetails.Builder>... shares)
The shares available and their metadata details.
This is a convenience method that creates an instance of theShareDetails.Builderavoiding the need to create one manually viaShareDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#shares(List.) - Parameters:
shares- a consumer that will call methods onShareDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#shares(java.util.Collection)
-
nextToken
ListSharesResponse.Builder nextToken(String nextToken)
Next token returned in the response of a previous ListSharesResponse call. Used to get the next page of results.
- Parameters:
nextToken- Next token returned in the response of a previous ListSharesResponse call. Used to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-