Interface InputFileConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InputFileConfig.Builder,,InputFileConfig> SdkBuilder<InputFileConfig.Builder,,InputFileConfig> SdkPojo
- Enclosing class:
InputFileConfig
public static interface InputFileConfig.Builder
extends SdkPojo, CopyableBuilder<InputFileConfig.Builder,InputFileConfig>
-
Method Summary
Modifier and TypeMethodDescriptionchannelName(String channelName) A named input source that an Amazon Braket job can consume.contentType(String contentType) The MIME type of the data.default InputFileConfig.BuilderdataSource(Consumer<DataSource.Builder> dataSource) The location of the channel data.dataSource(DataSource dataSource) The location of the channel data.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, sdkFields
-
Method Details
-
channelName
A named input source that an Amazon Braket job can consume.
- Parameters:
channelName- A named input source that an Amazon Braket job can consume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The MIME type of the data.
- Parameters:
contentType- The MIME type of the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The location of the channel data.
- Parameters:
dataSource- The location of the channel data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The location of the channel data.
This is a convenience method that creates an instance of theDataSource.Builderavoiding the need to create one manually viaDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSource(DataSource).- Parameters:
dataSource- a consumer that will call methods onDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-