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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InputFileConfig.BuilderchannelName(String channelName)A named input source that an Amazon Braket job can consume.InputFileConfig.BuildercontentType(String contentType)The MIME type of the data.default InputFileConfig.BuilderdataSource(Consumer<DataSource.Builder> dataSource)The location of the channel data.InputFileConfig.BuilderdataSource(DataSource dataSource)The location of the channel data.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
channelName
InputFileConfig.Builder channelName(String 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
InputFileConfig.Builder contentType(String 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
InputFileConfig.Builder dataSource(DataSource 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
default InputFileConfig.Builder dataSource(Consumer<DataSource.Builder> 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:
dataSource(DataSource)
-
-