public static interface ContainerRecommendation.Builder extends SdkPojo, CopyableBuilder<ContainerRecommendation.Builder,ContainerRecommendation>
| Modifier and Type | Method and Description |
|---|---|
ContainerRecommendation.Builder |
containerName(String containerName)
The name of the container.
|
ContainerRecommendation.Builder |
cpu(Integer cpu)
The recommended number of CPU units reserved for the container.
|
default ContainerRecommendation.Builder |
memorySizeConfiguration(Consumer<MemorySizeConfiguration.Builder> memorySizeConfiguration)
The recommended memory size configurations for the container.
|
ContainerRecommendation.Builder |
memorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration)
The recommended memory size configurations for the container.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContainerRecommendation.Builder containerName(String containerName)
The name of the container.
containerName - The name of the container.ContainerRecommendation.Builder memorySizeConfiguration(MemorySizeConfiguration memorySizeConfiguration)
The recommended memory size configurations for the container.
memorySizeConfiguration - The recommended memory size configurations for the container.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.Builder avoiding
the need to create one manually via MemorySizeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to memorySizeConfiguration(MemorySizeConfiguration).
memorySizeConfiguration - a consumer that will call methods on MemorySizeConfiguration.BuildermemorySizeConfiguration(MemorySizeConfiguration)ContainerRecommendation.Builder cpu(Integer cpu)
The recommended number of CPU units reserved for the container.
cpu - The recommended number of CPU units reserved for the container.Copyright © 2023. All rights reserved.