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 Details

    • 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 TaskConfig or ModelType if you specify an ActiveModelArn.

      Parameters:
      activeModelArn - To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version. Do not set TaskConfig or ModelType if you specify an ActiveModelArn.
      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 TaskConfig if you are creating a flywheel for a new model.

      Parameters:
      taskConfig - Configuration about the model associated with the flywheel. You need to set TaskConfig if 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 TaskConfig if you are creating a flywheel for a new model.

      This is a convenience method that creates an instance of the TaskConfig.Builder avoiding the need to create one manually via TaskConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskConfig(TaskConfig).

      Parameters:
      taskConfig - a consumer that will call methods on TaskConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modelType

      CreateFlywheelRequest.Builder modelType(String modelType)

      The model type. You need to set ModelType if you are creating a flywheel for a new model.

      Parameters:
      modelType - The model type. You need to set ModelType if you are creating a flywheel for a new model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modelType

      The model type. You need to set ModelType if you are creating a flywheel for a new model.

      Parameters:
      modelType - The model type. You need to set ModelType if you are creating a flywheel for a new model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the DataSecurityConfig.Builder avoiding the need to create one manually via DataSecurityConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSecurityConfig(DataSecurityConfig).

      Parameters:
      dataSecurityConfig - a consumer that will call methods on DataSecurityConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      The tags to associate with this flywheel.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateFlywheelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.