Interface CreateFlywheelRequest.Builder

    • 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 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.
      • 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, ModelType
      • modelType

        CreateFlywheelRequest.Builder modelType​(ModelType 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, ModelType
      • 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.
      • 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 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).

        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:
        #tags(java.util.Collection)