Interface WorkerComputeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkerComputeConfiguration.Builder,,WorkerComputeConfiguration> SdkBuilder<WorkerComputeConfiguration.Builder,,WorkerComputeConfiguration> SdkPojo
- Enclosing class:
WorkerComputeConfiguration
@Mutable
@NotThreadSafe
public static interface WorkerComputeConfiguration.Builder
extends SdkPojo, CopyableBuilder<WorkerComputeConfiguration.Builder,WorkerComputeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of compute workers that are used.Sets the value of the Properties property for this object.properties(WorkerComputeConfigurationProperties properties) Sets the value of the Properties property for this object.The instance type of the compute workers that are used.type(WorkerComputeType type) The instance type of the compute workers that are used.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
-
type
The instance type of the compute workers that are used.
- Parameters:
type- The instance type of the compute workers that are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The instance type of the compute workers that are used.
- Parameters:
type- The instance type of the compute workers that are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
number
The number of compute workers that are used.
- Parameters:
number- The number of compute workers that are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
Sets the value of the Properties property for this object.- Parameters:
properties- The new value for the Properties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
default WorkerComputeConfiguration.Builder properties(Consumer<WorkerComputeConfigurationProperties.Builder> properties) Sets the value of the Properties property for this object. This is a convenience method that creates an instance of theWorkerComputeConfigurationProperties.Builderavoiding the need to create one manually viaWorkerComputeConfigurationProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproperties(WorkerComputeConfigurationProperties).- Parameters:
properties- a consumer that will call methods onWorkerComputeConfigurationProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-