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
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) rejectChoices
(Consumer<RejectChoice.Builder>... rejectChoices) This is a convenience method that creates an instance of theRejectChoice.Builder
avoiding the need to create one manually viaRejectChoice.builder()
.rejectChoices
(RejectChoice... rejectChoices) default RejectPredictionsRequest.Builder
rejectRule
(Consumer<RejectRule.Builder> rejectRule) This is a convenience method that creates an instance of theRejectRule.Builder
avoiding the need to create one manually viaRejectRule.builder()
.rejectRule
(RejectRule rejectRule) 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 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
- Parameters:
rejectChoices
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectChoices
- Parameters:
rejectChoices
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectChoices
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
- Parameters:
rejectRule
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rejectRule
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
- Parameters:
revision
-- 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.
-