Interface InputChannel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InputChannel.Builder,InputChannel>,SdkBuilder<InputChannel.Builder,InputChannel>,SdkPojo
- Enclosing class:
- InputChannel
public static interface InputChannel.Builder extends SdkPojo, CopyableBuilder<InputChannel.Builder,InputChannel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InputChannel.BuilderdataSource(Consumer<InputChannelDataSource.Builder> dataSource)The data source that is used to create the ML input channel.InputChannel.BuilderdataSource(InputChannelDataSource dataSource)The data source that is used to create the ML input channel.InputChannel.BuilderroleArn(String roleArn)The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in thedataSourcefield the input channel.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dataSource
InputChannel.Builder dataSource(InputChannelDataSource dataSource)
The data source that is used to create the ML input channel.
- Parameters:
dataSource- The data source that is used to create the ML input channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default InputChannel.Builder dataSource(Consumer<InputChannelDataSource.Builder> dataSource)
The data source that is used to create the ML input channel.
This is a convenience method that creates an instance of theInputChannelDataSource.Builderavoiding the need to create one manually viaInputChannelDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSource(InputChannelDataSource).- Parameters:
dataSource- a consumer that will call methods onInputChannelDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSource(InputChannelDataSource)
-
roleArn
InputChannel.Builder roleArn(String roleArn)
The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the
dataSourcefield the input channel.Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedExceptionerror.- Parameters:
roleArn- The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in thedataSourcefield the input channel.Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an
AccessDeniedExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-