Interface EntityRecognizerProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EntityRecognizerProperties.Builder,EntityRecognizerProperties>,SdkBuilder<EntityRecognizerProperties.Builder,EntityRecognizerProperties>,SdkPojo
- Enclosing class:
- EntityRecognizerProperties
public static interface EntityRecognizerProperties.Builder extends SdkPojo, CopyableBuilder<EntityRecognizerProperties.Builder,EntityRecognizerProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EntityRecognizerProperties.BuilderdataAccessRoleArn(String dataAccessRoleArn)The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.EntityRecognizerProperties.BuilderendTime(Instant endTime)The time that the recognizer creation completed.EntityRecognizerProperties.BuilderentityRecognizerArn(String entityRecognizerArn)The Amazon Resource Name (ARN) that identifies the entity recognizer.EntityRecognizerProperties.BuilderflywheelArn(String flywheelArn)The Amazon Resource Number (ARN) of the flywheeldefault EntityRecognizerProperties.BuilderinputDataConfig(Consumer<EntityRecognizerInputDataConfig.Builder> inputDataConfig)The input data properties of an entity recognizer.EntityRecognizerProperties.BuilderinputDataConfig(EntityRecognizerInputDataConfig inputDataConfig)The input data properties of an entity recognizer.EntityRecognizerProperties.BuilderlanguageCode(String languageCode)The language of the input documents.EntityRecognizerProperties.BuilderlanguageCode(LanguageCode languageCode)The language of the input documents.EntityRecognizerProperties.Buildermessage(String message)A description of the status of the recognizer.EntityRecognizerProperties.BuildermodelKmsKeyId(String modelKmsKeyId)ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models.default EntityRecognizerProperties.BuilderoutputDataConfig(Consumer<EntityRecognizerOutputDataConfig.Builder> outputDataConfig)Output data configuration.EntityRecognizerProperties.BuilderoutputDataConfig(EntityRecognizerOutputDataConfig outputDataConfig)Output data configuration.default EntityRecognizerProperties.BuilderrecognizerMetadata(Consumer<EntityRecognizerMetadata.Builder> recognizerMetadata)Provides information about an entity recognizer.EntityRecognizerProperties.BuilderrecognizerMetadata(EntityRecognizerMetadata recognizerMetadata)Provides information about an entity recognizer.EntityRecognizerProperties.BuildersourceModelArn(String sourceModelArn)The Amazon Resource Name (ARN) of the source model.EntityRecognizerProperties.Builderstatus(String status)Provides the status of the entity recognizer.EntityRecognizerProperties.Builderstatus(ModelStatus status)Provides the status of the entity recognizer.EntityRecognizerProperties.BuildersubmitTime(Instant submitTime)The time that the recognizer was submitted for processing.EntityRecognizerProperties.BuildertrainingEndTime(Instant trainingEndTime)The time that training of the entity recognizer was completed.EntityRecognizerProperties.BuildertrainingStartTime(Instant trainingStartTime)The time that training of the entity recognizer started.EntityRecognizerProperties.BuilderversionName(String versionName)The version name you assigned to the entity recognizer.EntityRecognizerProperties.BuildervolumeKmsKeyId(String volumeKmsKeyId)ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job.default EntityRecognizerProperties.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer.EntityRecognizerProperties.BuildervpcConfig(VpcConfig vpcConfig)Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer.-
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
-
entityRecognizerArn
EntityRecognizerProperties.Builder entityRecognizerArn(String entityRecognizerArn)
The Amazon Resource Name (ARN) that identifies the entity recognizer.
- Parameters:
entityRecognizerArn- The Amazon Resource Name (ARN) that identifies the entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
EntityRecognizerProperties.Builder languageCode(String languageCode)
The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.
- Parameters:
languageCode- The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
languageCode
EntityRecognizerProperties.Builder languageCode(LanguageCode languageCode)
The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.
- Parameters:
languageCode- The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCode,LanguageCode
-
status
EntityRecognizerProperties.Builder status(String status)
Provides the status of the entity recognizer.
- Parameters:
status- Provides the status of the entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelStatus,ModelStatus
-
status
EntityRecognizerProperties.Builder status(ModelStatus status)
Provides the status of the entity recognizer.
- Parameters:
status- Provides the status of the entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelStatus,ModelStatus
-
message
EntityRecognizerProperties.Builder message(String message)
A description of the status of the recognizer.
- Parameters:
message- A description of the status of the recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submitTime
EntityRecognizerProperties.Builder submitTime(Instant submitTime)
The time that the recognizer was submitted for processing.
- Parameters:
submitTime- The time that the recognizer was submitted for processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
EntityRecognizerProperties.Builder endTime(Instant endTime)
The time that the recognizer creation completed.
- Parameters:
endTime- The time that the recognizer creation completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingStartTime
EntityRecognizerProperties.Builder trainingStartTime(Instant trainingStartTime)
The time that training of the entity recognizer started.
- Parameters:
trainingStartTime- The time that training of the entity recognizer started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingEndTime
EntityRecognizerProperties.Builder trainingEndTime(Instant trainingEndTime)
The time that training of the entity recognizer was completed.
- Parameters:
trainingEndTime- The time that training of the entity recognizer was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
EntityRecognizerProperties.Builder inputDataConfig(EntityRecognizerInputDataConfig inputDataConfig)
The input data properties of an entity recognizer.
- Parameters:
inputDataConfig- The input data properties of an entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default EntityRecognizerProperties.Builder inputDataConfig(Consumer<EntityRecognizerInputDataConfig.Builder> inputDataConfig)
The input data properties of an entity recognizer.
This is a convenience method that creates an instance of theEntityRecognizerInputDataConfig.Builderavoiding the need to create one manually viaEntityRecognizerInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(EntityRecognizerInputDataConfig).- Parameters:
inputDataConfig- a consumer that will call methods onEntityRecognizerInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputDataConfig(EntityRecognizerInputDataConfig)
-
recognizerMetadata
EntityRecognizerProperties.Builder recognizerMetadata(EntityRecognizerMetadata recognizerMetadata)
Provides information about an entity recognizer.
- Parameters:
recognizerMetadata- Provides information about an entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recognizerMetadata
default EntityRecognizerProperties.Builder recognizerMetadata(Consumer<EntityRecognizerMetadata.Builder> recognizerMetadata)
Provides information about an entity recognizer.
This is a convenience method that creates an instance of theEntityRecognizerMetadata.Builderavoiding the need to create one manually viaEntityRecognizerMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecognizerMetadata(EntityRecognizerMetadata).- Parameters:
recognizerMetadata- a consumer that will call methods onEntityRecognizerMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
recognizerMetadata(EntityRecognizerMetadata)
-
dataAccessRoleArn
EntityRecognizerProperties.Builder dataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
- Parameters:
dataAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeKmsKeyId
EntityRecognizerProperties.Builder volumeKmsKeyId(String volumeKmsKeyId)
ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
- Parameters:
volumeKmsKeyId- ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
vpcConfig
EntityRecognizerProperties.Builder vpcConfig(VpcConfig vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see Amazon VPC.
- Parameters:
vpcConfig- Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see Amazon VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default EntityRecognizerProperties.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see Amazon VPC.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
modelKmsKeyId
EntityRecognizerProperties.Builder modelKmsKeyId(String modelKmsKeyId)
ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:
-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
- Parameters:
modelKmsKeyId- ID for the KMS key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:-
KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab" -
Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
versionName
EntityRecognizerProperties.Builder versionName(String versionName)
The version name you assigned to the entity recognizer.
- Parameters:
versionName- The version name you assigned to the entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceModelArn
EntityRecognizerProperties.Builder sourceModelArn(String sourceModelArn)
The Amazon Resource Name (ARN) of the source model. This model was imported from a different Amazon Web Services account to create the entity recognizer model in your Amazon Web Services account.
- Parameters:
sourceModelArn- The Amazon Resource Name (ARN) of the source model. This model was imported from a different Amazon Web Services account to create the entity recognizer model in your Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flywheelArn
EntityRecognizerProperties.Builder flywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel
- Parameters:
flywheelArn- The Amazon Resource Number (ARN) of the flywheel- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
EntityRecognizerProperties.Builder outputDataConfig(EntityRecognizerOutputDataConfig outputDataConfig)
Output data configuration.
- Parameters:
outputDataConfig- Output data configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default EntityRecognizerProperties.Builder outputDataConfig(Consumer<EntityRecognizerOutputDataConfig.Builder> outputDataConfig)
Output data configuration.
This is a convenience method that creates an instance of theEntityRecognizerOutputDataConfig.Builderavoiding the need to create one manually viaEntityRecognizerOutputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDataConfig(EntityRecognizerOutputDataConfig).- Parameters:
outputDataConfig- a consumer that will call methods onEntityRecognizerOutputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputDataConfig(EntityRecognizerOutputDataConfig)
-
-