Interface RejectPredictionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RejectPredictionsRequest.Builder,RejectPredictionsRequest>,DataZoneRequest.Builder,SdkBuilder<RejectPredictionsRequest.Builder,RejectPredictionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RejectPredictionsRequest
public static interface RejectPredictionsRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<RejectPredictionsRequest.Builder,RejectPredictionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RejectPredictionsRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.RejectPredictionsRequest.BuilderdomainIdentifier(String domainIdentifier)The identifier of the Amazon DataZone domain.RejectPredictionsRequest.Builderidentifier(String identifier)The identifier of the prediction.RejectPredictionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RejectPredictionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RejectPredictionsRequest.BuilderrejectChoices(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.RejectPredictionsRequest.BuilderrejectChoices(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.RejectPredictionsRequest.BuilderrejectChoices(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.RejectPredictionsRequest.BuilderrejectRule(RejectRule rejectRule)Specifies the rule (or the conditions) under which a prediction can be rejected.RejectPredictionsRequest.Builderrevision(String revision)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, sdkFields
-
-
-
-
Method Detail
-
clientToken
RejectPredictionsRequest.Builder clientToken(String 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
RejectPredictionsRequest.Builder domainIdentifier(String 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
RejectPredictionsRequest.Builder identifier(String 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
RejectPredictionsRequest.Builder 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.
- 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
RejectPredictionsRequest.Builder 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.
- 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
RejectPredictionsRequest.Builder 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.
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 to#rejectChoices(List.) - 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:
#rejectChoices(java.util.Collection)
-
rejectRule
RejectPredictionsRequest.Builder rejectRule(RejectRule 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
default RejectPredictionsRequest.Builder rejectRule(Consumer<RejectRule.Builder> 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:
rejectRule(RejectRule)
-
revision
RejectPredictionsRequest.Builder revision(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RejectPredictionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-