Interface ListDistributionTenantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListDistributionTenantsResponse.Builder,
,ListDistributionTenantsResponse> SdkBuilder<ListDistributionTenantsResponse.Builder,
,ListDistributionTenantsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDistributionTenantsResponse
@Mutable
@NotThreadSafe
public static interface ListDistributionTenantsResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListDistributionTenantsResponse.Builder,ListDistributionTenantsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondistributionTenantList
(Collection<DistributionTenantSummary> distributionTenantList) The list of distribution tenants that you retrieved.distributionTenantList
(Consumer<DistributionTenantSummary.Builder>... distributionTenantList) The list of distribution tenants that you retrieved.distributionTenantList
(DistributionTenantSummary... distributionTenantList) The list of distribution tenants that you retrieved.nextMarker
(String nextMarker) A token used for pagination of results returned in the response.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
nextMarker
A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.
- Parameters:
nextMarker
- A token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionTenantList
ListDistributionTenantsResponse.Builder distributionTenantList(Collection<DistributionTenantSummary> distributionTenantList) The list of distribution tenants that you retrieved.
- Parameters:
distributionTenantList
- The list of distribution tenants that you retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionTenantList
ListDistributionTenantsResponse.Builder distributionTenantList(DistributionTenantSummary... distributionTenantList) The list of distribution tenants that you retrieved.
- Parameters:
distributionTenantList
- The list of distribution tenants that you retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionTenantList
ListDistributionTenantsResponse.Builder distributionTenantList(Consumer<DistributionTenantSummary.Builder>... distributionTenantList) The list of distribution tenants that you retrieved.
This is a convenience method that creates an instance of theDistributionTenantSummary.Builder
avoiding the need to create one manually viaDistributionTenantSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todistributionTenantList(List<DistributionTenantSummary>)
.- Parameters:
distributionTenantList
- a consumer that will call methods onDistributionTenantSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-