Interface ListInventoryUsagesResponse.Builder
- All Superinterfaces:
AcmResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListInventoryUsagesResponse.Builder,,ListInventoryUsagesResponse> SdkBuilder<ListInventoryUsagesResponse.Builder,,ListInventoryUsagesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInventoryUsagesResponse
@Mutable
@NotThreadSafe
public static interface ListInventoryUsagesResponse.Builder
extends AcmResponse.Builder, SdkPojo, CopyableBuilder<ListInventoryUsagesResponse.Builder,ListInventoryUsagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionPass this value as NextToken to read the next page.totalCount(Long totalCount) How many usages the certificate has in total, not only on this page.totalCountRelation(String totalCountRelation) Whether TotalCount is exact or a lower bound.totalCountRelation(TotalCountRelation totalCountRelation) Whether TotalCount is exact or a lower bound.usages(Collection<InventoryUsage> usages) The usages on this page, sorted by target in ascending order.usages(Consumer<InventoryUsage.Builder>... usages) The usages on this page, sorted by target in ascending order.usages(InventoryUsage... usages) The usages on this page, sorted by target in ascending order.Methods inherited from interface software.amazon.awssdk.services.acm.model.AcmResponse.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
-
usages
The usages on this page, sorted by target in ascending order.
- Parameters:
usages- The usages on this page, sorted by target in ascending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usages
The usages on this page, sorted by target in ascending order.
- Parameters:
usages- The usages on this page, sorted by target in ascending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usages
The usages on this page, sorted by target in ascending order.
This is a convenience method that creates an instance of theInventoryUsage.Builderavoiding the need to create one manually viaInventoryUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousages(List<InventoryUsage>).- Parameters:
usages- a consumer that will call methods onInventoryUsage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pass this value as NextToken to read the next page. Absent on the last page.
- Parameters:
nextToken- Pass this value as NextToken to read the next page. Absent on the last page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCount
How many usages the certificate has in total, not only on this page. Counted when each page is read, so it can change between pages if the inventory changes.
- Parameters:
totalCount- How many usages the certificate has in total, not only on this page. Counted when each page is read, so it can change between pages if the inventory changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCountRelation
Whether TotalCount is exact or a lower bound.
- Parameters:
totalCountRelation- Whether TotalCount is exact or a lower bound.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalCountRelation
Whether TotalCount is exact or a lower bound.
- Parameters:
totalCountRelation- Whether TotalCount is exact or a lower bound.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-