Interface ListTrustStoresResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<ListTrustStoresResponse.Builder,,ListTrustStoresResponse> SdkBuilder<ListTrustStoresResponse.Builder,,ListTrustStoresResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTrustStoresResponse
@Mutable
@NotThreadSafe
public static interface ListTrustStoresResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListTrustStoresResponse.Builder,ListTrustStoresResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker(String nextMarker) Indicates the next page of trust stores.trustStoreList(Collection<TrustStoreSummary> trustStoreList) The trust store list.trustStoreList(Consumer<TrustStoreSummary.Builder>... trustStoreList) The trust store list.trustStoreList(TrustStoreSummary... trustStoreList) The trust store list.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextMarker
Indicates the next page of trust stores. To get the next page of the list, use this value in the
Markerfield of your request.- Parameters:
nextMarker- Indicates the next page of trust stores. To get the next page of the list, use this value in theMarkerfield of your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustStoreList
The trust store list.
- Parameters:
trustStoreList- The trust store list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustStoreList
The trust store list.
- Parameters:
trustStoreList- The trust store list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trustStoreList
ListTrustStoresResponse.Builder trustStoreList(Consumer<TrustStoreSummary.Builder>... trustStoreList) The trust store list.
This is a convenience method that creates an instance of theTrustStoreSummary.Builderavoiding the need to create one manually viaTrustStoreSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrustStoreList(List<TrustStoreSummary>).- Parameters:
trustStoreList- 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:
-