Interface ContainerRecommendation.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ContainerRecommendation.Builder,,ContainerRecommendation> SdkBuilder<ContainerRecommendation.Builder,,ContainerRecommendation> SdkPojo
- Enclosing class:
 ContainerRecommendation
@Mutable
@NotThreadSafe
public static interface ContainerRecommendation.Builder
extends SdkPojo, CopyableBuilder<ContainerRecommendation.Builder,ContainerRecommendation> 
- 
Method Summary
Modifier and TypeMethodDescriptioncontainerName(String containerName) The name of the container.The recommended number of CPU units reserved for the container.default ContainerRecommendation.BuildermemorySizeConfiguration(Consumer<MemorySizeConfiguration.Builder> memorySizeConfiguration) The recommended memory size configurations for the container.memorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration) The recommended memory size configurations for the container.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
- 
containerName
The name of the container.
- Parameters:
 containerName- The name of the container.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
memorySizeConfiguration
ContainerRecommendation.Builder memorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration) The recommended memory size configurations for the container.
- Parameters:
 memorySizeConfiguration- The recommended memory size configurations for the container.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
memorySizeConfiguration
default ContainerRecommendation.Builder memorySizeConfiguration(Consumer<MemorySizeConfiguration.Builder> memorySizeConfiguration) The recommended memory size configurations for the container.
This is a convenience method that creates an instance of theMemorySizeConfiguration.Builderavoiding the need to create one manually viaMemorySizeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemorySizeConfiguration(MemorySizeConfiguration).- Parameters:
 memorySizeConfiguration- a consumer that will call methods onMemorySizeConfiguration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
cpu
The recommended number of CPU units reserved for the container.
- Parameters:
 cpu- The recommended number of CPU units reserved for the container.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -