Interface CreateFlywheelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<CreateFlywheelRequest.Builder,CreateFlywheelRequest>,SdkBuilder<CreateFlywheelRequest.Builder,CreateFlywheelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFlywheelRequest
public static interface CreateFlywheelRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<CreateFlywheelRequest.Builder,CreateFlywheelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFlywheelRequest.BuilderactiveModelArn(String activeModelArn)To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version.CreateFlywheelRequest.BuilderclientRequestToken(String clientRequestToken)A unique identifier for the request.CreateFlywheelRequest.BuilderdataAccessRoleArn(String dataAccessRoleArn)The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend the permissions required to access the flywheel data in the data lake.CreateFlywheelRequest.BuilderdataLakeS3Uri(String dataLakeS3Uri)Enter the S3 location for the data lake.default CreateFlywheelRequest.BuilderdataSecurityConfig(Consumer<DataSecurityConfig.Builder> dataSecurityConfig)Data security configurations.CreateFlywheelRequest.BuilderdataSecurityConfig(DataSecurityConfig dataSecurityConfig)Data security configurations.CreateFlywheelRequest.BuilderflywheelName(String flywheelName)Name for the flywheel.CreateFlywheelRequest.BuildermodelType(String modelType)The model type.CreateFlywheelRequest.BuildermodelType(ModelType modelType)The model type.CreateFlywheelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFlywheelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFlywheelRequest.Buildertags(Collection<Tag> tags)The tags to associate with this flywheel.CreateFlywheelRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to associate with this flywheel.CreateFlywheelRequest.Buildertags(Tag... tags)The tags to associate with this flywheel.default CreateFlywheelRequest.BuildertaskConfig(Consumer<TaskConfig.Builder> taskConfig)Configuration about the model associated with the flywheel.CreateFlywheelRequest.BuildertaskConfig(TaskConfig taskConfig)Configuration about the model associated with the flywheel.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
build
-
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
-
flywheelName
CreateFlywheelRequest.Builder flywheelName(String flywheelName)
Name for the flywheel.
- Parameters:
flywheelName- Name for the flywheel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeModelArn
CreateFlywheelRequest.Builder activeModelArn(String activeModelArn)
To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version. Do not set
TaskConfigorModelTypeif you specify anActiveModelArn.- Parameters:
activeModelArn- To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version. Do not setTaskConfigorModelTypeif you specify anActiveModelArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataAccessRoleArn
CreateFlywheelRequest.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend the permissions required to access the flywheel data in the data lake.
- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend the permissions required to access the flywheel data in the data lake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskConfig
CreateFlywheelRequest.Builder taskConfig(TaskConfig taskConfig)
Configuration about the model associated with the flywheel. You need to set
TaskConfigif you are creating a flywheel for a new model.- Parameters:
taskConfig- Configuration about the model associated with the flywheel. You need to setTaskConfigif you are creating a flywheel for a new model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskConfig
default CreateFlywheelRequest.Builder taskConfig(Consumer<TaskConfig.Builder> taskConfig)
Configuration about the model associated with the flywheel. You need to set
This is a convenience method that creates an instance of theTaskConfigif you are creating a flywheel for a new model.TaskConfig.Builderavoiding the need to create one manually viaTaskConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskConfig(TaskConfig).- Parameters:
taskConfig- a consumer that will call methods onTaskConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taskConfig(TaskConfig)
-
modelType
CreateFlywheelRequest.Builder modelType(String modelType)
The model type. You need to set
ModelTypeif you are creating a flywheel for a new model.
-
modelType
CreateFlywheelRequest.Builder modelType(ModelType modelType)
The model type. You need to set
ModelTypeif you are creating a flywheel for a new model.
-
dataLakeS3Uri
CreateFlywheelRequest.Builder dataLakeS3Uri(String dataLakeS3Uri)
Enter the S3 location for the data lake. You can specify a new S3 bucket or a new folder of an existing S3 bucket. The flywheel creates the data lake at this location.
- Parameters:
dataLakeS3Uri- Enter the S3 location for the data lake. You can specify a new S3 bucket or a new folder of an existing S3 bucket. The flywheel creates the data lake at this location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSecurityConfig
CreateFlywheelRequest.Builder dataSecurityConfig(DataSecurityConfig dataSecurityConfig)
Data security configurations.
- Parameters:
dataSecurityConfig- Data security configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSecurityConfig
default CreateFlywheelRequest.Builder dataSecurityConfig(Consumer<DataSecurityConfig.Builder> dataSecurityConfig)
Data security configurations.
This is a convenience method that creates an instance of theDataSecurityConfig.Builderavoiding the need to create one manually viaDataSecurityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSecurityConfig(DataSecurityConfig).- Parameters:
dataSecurityConfig- a consumer that will call methods onDataSecurityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSecurityConfig(DataSecurityConfig)
-
clientRequestToken
CreateFlywheelRequest.Builder clientRequestToken(String clientRequestToken)
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
- Parameters:
clientRequestToken- A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFlywheelRequest.Builder tags(Collection<Tag> tags)
The tags to associate with this flywheel.
- Parameters:
tags- The tags to associate with this flywheel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFlywheelRequest.Builder tags(Tag... tags)
The tags to associate with this flywheel.
- Parameters:
tags- The tags to associate with this flywheel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFlywheelRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to associate with this flywheel.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateFlywheelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFlywheelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-