Interface RejectPredictionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RejectPredictionsRequest.Builder,,RejectPredictionsRequest> DataZoneRequest.Builder,SdkBuilder<RejectPredictionsRequest.Builder,,RejectPredictionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RejectPredictionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.domainIdentifier(String domainIdentifier) The identifier of the Amazon DataZone domain.identifier(String identifier) The identifier of the prediction.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rejectChoices(Collection<RejectChoice> rejectChoices) Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.rejectChoices(Consumer<RejectChoice.Builder>... rejectChoices) Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.rejectChoices(RejectChoice... rejectChoices) Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.default RejectPredictionsRequest.BuilderrejectRule(Consumer<RejectRule.Builder> rejectRule) Specifies the rule (or the conditions) under which a prediction can be rejected.rejectRule(RejectRule rejectRule) Specifies the rule (or the conditions) under which a prediction can be rejected.The revision that is to be made to the asset.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The identifier of the Amazon DataZone domain.
- Parameters:
domainIdentifier- The identifier of the Amazon DataZone domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The identifier of the prediction.
- Parameters:
identifier- The identifier of the prediction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectChoices
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
- Parameters:
rejectChoices- Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectChoices
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
- Parameters:
rejectChoices- Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectChoices
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
This is a convenience method that creates an instance of theRejectChoice.Builderavoiding the need to create one manually viaRejectChoice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torejectChoices(List<RejectChoice>).- Parameters:
rejectChoices- a consumer that will call methods onRejectChoice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rejectRule
Specifies the rule (or the conditions) under which a prediction can be rejected.
- Parameters:
rejectRule- Specifies the rule (or the conditions) under which a prediction can be rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectRule
Specifies the rule (or the conditions) under which a prediction can be rejected.
This is a convenience method that creates an instance of theRejectRule.Builderavoiding the need to create one manually viaRejectRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torejectRule(RejectRule).- Parameters:
rejectRule- a consumer that will call methods onRejectRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revision
The revision that is to be made to the asset.
- Parameters:
revision- The revision that is to be made to the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RejectPredictionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RejectPredictionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-