Interface CollectionGroupSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CollectionGroupSummary.Builder,,CollectionGroupSummary> SdkBuilder<CollectionGroupSummary.Builder,,CollectionGroupSummary> SdkPojo
- Enclosing class:
CollectionGroupSummary
@Mutable
@NotThreadSafe
public static interface CollectionGroupSummary.Builder
extends SdkPojo, CopyableBuilder<CollectionGroupSummary.Builder,CollectionGroupSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the collection group.default CollectionGroupSummary.BuildercapacityLimits(Consumer<CollectionGroupCapacityLimits.Builder> capacityLimits) Sets the value of the CapacityLimits property for this object.capacityLimits(CollectionGroupCapacityLimits capacityLimits) Sets the value of the CapacityLimits property for this object.createdDate(Long createdDate) The Epoch time when the collection group was created.The unique identifier of the collection group.The name of the collection group.numberOfCollections(Integer numberOfCollections) The number of collections within the collection group.Methods 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, sdkFields
-
Method Details
-
id
The unique identifier of the collection group.
- Parameters:
id- The unique identifier of the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the collection group.
- Parameters:
arn- The Amazon Resource Name (ARN) of the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the collection group.
- Parameters:
name- The name of the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfCollections
The number of collections within the collection group.
- Parameters:
numberOfCollections- The number of collections within the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The Epoch time when the collection group was created.
- Parameters:
createdDate- The Epoch time when the collection group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
Sets the value of the CapacityLimits property for this object.- Parameters:
capacityLimits- The new value for the CapacityLimits property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
default CollectionGroupSummary.Builder capacityLimits(Consumer<CollectionGroupCapacityLimits.Builder> capacityLimits) Sets the value of the CapacityLimits property for this object. This is a convenience method that creates an instance of theCollectionGroupCapacityLimits.Builderavoiding the need to create one manually viaCollectionGroupCapacityLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityLimits(CollectionGroupCapacityLimits).- Parameters:
capacityLimits- a consumer that will call methods onCollectionGroupCapacityLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-