Interface AcceptPredictionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AcceptPredictionsRequest.Builder,AcceptPredictionsRequest>,DataZoneRequest.Builder,SdkBuilder<AcceptPredictionsRequest.Builder,AcceptPredictionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AcceptPredictionsRequest
public static interface AcceptPredictionsRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<AcceptPredictionsRequest.Builder,AcceptPredictionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AcceptPredictionsRequest.BuilderacceptChoices(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.AcceptPredictionsRequest.BuilderacceptChoices(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.AcceptPredictionsRequest.BuilderacceptChoices(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.BuilderacceptRule(Consumer<AcceptRule.Builder> acceptRule)Specifies the rule (or the conditions) under which a prediction can be accepted.AcceptPredictionsRequest.BuilderacceptRule(AcceptRule acceptRule)Specifies the rule (or the conditions) under which a prediction can be accepted.AcceptPredictionsRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier to ensure idempotency of the request.AcceptPredictionsRequest.BuilderdomainIdentifier(String domainIdentifier)The identifier of the Amazon DataZone domain.AcceptPredictionsRequest.Builderidentifier(String identifier)The identifier of the asset.AcceptPredictionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AcceptPredictionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AcceptPredictionsRequest.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
-
acceptChoices
AcceptPredictionsRequest.Builder acceptChoices(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.
- 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
AcceptPredictionsRequest.Builder 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.
- 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
AcceptPredictionsRequest.Builder 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.
This is a convenience method that creates an instance of theAcceptChoice.Builderavoiding the need to create one manually viaAcceptChoice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#acceptChoices(List.) - 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:
#acceptChoices(java.util.Collection)
-
acceptRule
AcceptPredictionsRequest.Builder acceptRule(AcceptRule 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
default AcceptPredictionsRequest.Builder acceptRule(Consumer<AcceptRule.Builder> 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.Builderavoiding the need to create one manually viaAcceptRule.builder().When the
Consumercompletes,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:
acceptRule(AcceptRule)
-
clientToken
AcceptPredictionsRequest.Builder clientToken(String 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
AcceptPredictionsRequest.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
AcceptPredictionsRequest.Builder identifier(String 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
AcceptPredictionsRequest.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
AcceptPredictionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AcceptPredictionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-