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.Builder
rejectRule
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaRejectChoice.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaRejectRule.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-