Interface GetResourcesSummaryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourcesSummaryResponse.Builder,,GetResourcesSummaryResponse> ProtonResponse.Builder,SdkBuilder<GetResourcesSummaryResponse.Builder,,GetResourcesSummaryResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetResourcesSummaryResponse
@Mutable
@NotThreadSafe
public static interface GetResourcesSummaryResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<GetResourcesSummaryResponse.Builder,GetResourcesSummaryResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncounts(Consumer<CountsSummary.Builder> counts) Summary counts of each Proton resource type.counts(CountsSummary counts) Summary counts of each Proton resource type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
counts
Summary counts of each Proton resource type.
- Parameters:
counts- Summary counts of each Proton resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
counts
Summary counts of each Proton resource type.
This is a convenience method that creates an instance of theCountsSummary.Builderavoiding the need to create one manually viaCountsSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocounts(CountsSummary).- Parameters:
counts- a consumer that will call methods onCountsSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-