Interface Limits.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Limits.Builder,
,Limits> SdkBuilder<Limits.Builder,
,Limits> SdkPojo
- Enclosing class:
Limits
-
Method Summary
Modifier and TypeMethodDescriptionadditionalLimits
(Collection<AdditionalLimit> additionalLimits) List of additional limits that are specific to a given InstanceType and for each of it'sInstanceRole
.additionalLimits
(Consumer<AdditionalLimit.Builder>... additionalLimits) List of additional limits that are specific to a given InstanceType and for each of it'sInstanceRole
.additionalLimits
(AdditionalLimit... additionalLimits) List of additional limits that are specific to a given InstanceType and for each of it'sInstanceRole
.default Limits.Builder
instanceLimits
(Consumer<InstanceLimits.Builder> instanceLimits) Sets the value of the InstanceLimits property for this object.instanceLimits
(InstanceLimits instanceLimits) Sets the value of the InstanceLimits property for this object.storageTypes
(Collection<StorageType> storageTypes) StorageType represents the list of storage related types and attributes that are available for given InstanceType.storageTypes
(Consumer<StorageType.Builder>... storageTypes) StorageType represents the list of storage related types and attributes that are available for given InstanceType.storageTypes
(StorageType... storageTypes) StorageType represents the list of storage related types and attributes that are available for given InstanceType.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, sdkFields
-
Method Details
-
storageTypes
StorageType represents the list of storage related types and attributes that are available for given InstanceType.
- Parameters:
storageTypes
- StorageType represents the list of storage related types and attributes that are available for given InstanceType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageTypes
StorageType represents the list of storage related types and attributes that are available for given InstanceType.
- Parameters:
storageTypes
- StorageType represents the list of storage related types and attributes that are available for given InstanceType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageTypes
StorageType represents the list of storage related types and attributes that are available for given InstanceType.
This is a convenience method that creates an instance of theStorageType.Builder
avoiding the need to create one manually viaStorageType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostorageTypes(List<StorageType>)
.- Parameters:
storageTypes
- a consumer that will call methods onStorageType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceLimits
Sets the value of the InstanceLimits property for this object.- Parameters:
instanceLimits
- The new value for the InstanceLimits property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceLimits
Sets the value of the InstanceLimits property for this object. This is a convenience method that creates an instance of theInstanceLimits.Builder
avoiding the need to create one manually viaInstanceLimits.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceLimits(InstanceLimits)
.- Parameters:
instanceLimits
- a consumer that will call methods onInstanceLimits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalLimits
List of additional limits that are specific to a given InstanceType and for each of it's
InstanceRole
.- Parameters:
additionalLimits
- List of additional limits that are specific to a given InstanceType and for each of it'sInstanceRole
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLimits
List of additional limits that are specific to a given InstanceType and for each of it's
InstanceRole
.- Parameters:
additionalLimits
- List of additional limits that are specific to a given InstanceType and for each of it'sInstanceRole
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalLimits
List of additional limits that are specific to a given InstanceType and for each of it's
This is a convenience method that creates an instance of theInstanceRole
.AdditionalLimit.Builder
avoiding the need to create one manually viaAdditionalLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadditionalLimits(List<AdditionalLimit>)
.- Parameters:
additionalLimits
- a consumer that will call methods onAdditionalLimit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-