Interface Limits.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Limits.Builder,Limits>
,SdkBuilder<Limits.Builder,Limits>
,SdkPojo
- Enclosing class:
- Limits
public static interface Limits.Builder extends SdkPojo, CopyableBuilder<Limits.Builder,Limits>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Limits.Builder
additionalLimits(Collection<AdditionalLimit> additionalLimits)
List of additional limits that are specific to a given InstanceType and for each of it'sInstanceRole
.Limits.Builder
additionalLimits(Consumer<AdditionalLimit.Builder>... additionalLimits)
List of additional limits that are specific to a given InstanceType and for each of it'sInstanceRole
.Limits.Builder
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.Limits.Builder
instanceLimits(InstanceLimits instanceLimits)
Sets the value of the InstanceLimits property for this object.Limits.Builder
storageTypes(Collection<StorageType> storageTypes)
StorageType represents the list of storage related types and attributes that are available for given InstanceType.Limits.Builder
storageTypes(Consumer<StorageType.Builder>... storageTypes)
StorageType represents the list of storage related types and attributes that are available for given InstanceType.Limits.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
storageTypes
Limits.Builder storageTypes(Collection<StorageType> 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
Limits.Builder storageTypes(StorageType... 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
Limits.Builder storageTypes(Consumer<StorageType.Builder>... 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 to#storageTypes(List
.) - 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:
#storageTypes(java.util.Collection
)
-
instanceLimits
Limits.Builder instanceLimits(InstanceLimits 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
default Limits.Builder instanceLimits(Consumer<InstanceLimits.Builder> 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:
instanceLimits(InstanceLimits)
-
additionalLimits
Limits.Builder additionalLimits(Collection<AdditionalLimit> 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
Limits.Builder additionalLimits(AdditionalLimit... 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
Limits.Builder additionalLimits(Consumer<AdditionalLimit.Builder>... 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 to#additionalLimits(List
.) - 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:
#additionalLimits(java.util.Collection
)
-
-