Interface ListTrustStoresResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTrustStoresResponse.Builder,
,ListTrustStoresResponse> SdkBuilder<ListTrustStoresResponse.Builder,
,ListTrustStoresResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesWebResponse.Builder
- Enclosing class:
ListTrustStoresResponse
@Mutable
@NotThreadSafe
public static interface ListTrustStoresResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<ListTrustStoresResponse.Builder,ListTrustStoresResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token used to retrieve the next page of results for this operation.trustStores
(Collection<TrustStoreSummary> trustStores) The trust stores.trustStores
(Consumer<TrustStoreSummary.Builder>... trustStores) The trust stores.trustStores
(TrustStoreSummary... trustStores) The trust stores.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The pagination token used to retrieve the next page of results for this operation.
- Parameters:
nextToken
- The pagination token used to retrieve the next page of results for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustStores
The trust stores.
- Parameters:
trustStores
- The trust stores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustStores
The trust stores.
- Parameters:
trustStores
- The trust stores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustStores
The trust stores.
This is a convenience method that creates an instance of theTrustStoreSummary.Builder
avoiding the need to create one manually viaTrustStoreSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrustStores(List<TrustStoreSummary>)
.- Parameters:
trustStores
- a consumer that will call methods onTrustStoreSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-