Interface AcceptPredictionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AcceptPredictionsRequest.Builder,
,AcceptPredictionsRequest> DataZoneRequest.Builder
,SdkBuilder<AcceptPredictionsRequest.Builder,
,AcceptPredictionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AcceptPredictionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptChoices
(Collection<AcceptChoice> acceptChoices) Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.acceptChoices
(Consumer<AcceptChoice.Builder>... acceptChoices) Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.acceptChoices
(AcceptChoice... acceptChoices) Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.default AcceptPredictionsRequest.Builder
acceptRule
(Consumer<AcceptRule.Builder> acceptRule) Specifies the rule (or the conditions) under which a prediction can be accepted.acceptRule
(AcceptRule acceptRule) Specifies the rule (or the conditions) under which a prediction can be accepted.clientToken
(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.domainIdentifier
(String domainIdentifier) The identifier of the Amazon DataZone domain.identifier
(String identifier) The identifier of the asset.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
acceptChoices
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.
- Parameters:
acceptChoices
- Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptChoices
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.
- Parameters:
acceptChoices
- Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptChoices
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.
This is a convenience method that creates an instance of theAcceptChoice.Builder
avoiding the need to create one manually viaAcceptChoice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacceptChoices(List<AcceptChoice>)
.- Parameters:
acceptChoices
- a consumer that will call methods onAcceptChoice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acceptRule
Specifies the rule (or the conditions) under which a prediction can be accepted.
- Parameters:
acceptRule
- Specifies the rule (or the conditions) under which a prediction can be accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptRule
Specifies the rule (or the conditions) under which a prediction can be accepted.
This is a convenience method that creates an instance of theAcceptRule.Builder
avoiding the need to create one manually viaAcceptRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacceptRule(AcceptRule)
.- Parameters:
acceptRule
- a consumer that will call methods onAcceptRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
- Parameters:
clientToken
- A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.- 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 asset.
- Parameters:
identifier
- The identifier of the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
AcceptPredictionsRequest.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
AcceptPredictionsRequest.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.
-