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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDistributionTenantsResponse.BuilderdistributionTenantList(Collection<DistributionTenantSummary> distributionTenantList)The list of distribution tenants that you retrieved.ListDistributionTenantsResponse.BuilderdistributionTenantList(Consumer<DistributionTenantSummary.Builder>... distributionTenantList)The list of distribution tenants that you retrieved.ListDistributionTenantsResponse.BuilderdistributionTenantList(DistributionTenantSummary... distributionTenantList)The list of distribution tenants that you retrieved.ListDistributionTenantsResponse.BuildernextMarker(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 Detail
-
nextMarker
ListDistributionTenantsResponse.Builder nextMarker(String 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.Builderavoiding the need to create one manually viaDistributionTenantSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#distributionTenantList(List.) - 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:
#distributionTenantList(java.util.Collection)
-
-