Interface AIDatasetConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AIDatasetConfig.Builder,,AIDatasetConfig> SdkBuilder<AIDatasetConfig.Builder,,AIDatasetConfig> SdkPojo
- Enclosing class:
AIDatasetConfig
@Mutable
@NotThreadSafe
public static interface AIDatasetConfig.Builder
extends SdkPojo, CopyableBuilder<AIDatasetConfig.Builder,AIDatasetConfig>
-
Method Summary
Modifier and TypeMethodDescriptioninputDataConfig(Collection<AIWorkloadInputDataConfig> inputDataConfig) An array of input data channel configurations for the workload.inputDataConfig(Consumer<AIWorkloadInputDataConfig.Builder>... inputDataConfig) An array of input data channel configurations for the workload.inputDataConfig(AIWorkloadInputDataConfig... inputDataConfig) An array of input data channel configurations for the workload.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
-
inputDataConfig
An array of input data channel configurations for the workload.
- Parameters:
inputDataConfig- An array of input data channel configurations for the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
An array of input data channel configurations for the workload.
- Parameters:
inputDataConfig- An array of input data channel configurations for the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
AIDatasetConfig.Builder inputDataConfig(Consumer<AIWorkloadInputDataConfig.Builder>... inputDataConfig) An array of input data channel configurations for the workload.
This is a convenience method that creates an instance of theAIWorkloadInputDataConfig.Builderavoiding the need to create one manually viaAIWorkloadInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(List<AIWorkloadInputDataConfig>).- Parameters:
inputDataConfig- a consumer that will call methods onAIWorkloadInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-