Interface PutActionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutActionsRequest.Builder,
,PutActionsRequest> PersonalizeEventsRequest.Builder
,SdkBuilder<PutActionsRequest.Builder,
,PutActionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutActionsRequest
@Mutable
@NotThreadSafe
public static interface PutActionsRequest.Builder
extends PersonalizeEventsRequest.Builder, SdkPojo, CopyableBuilder<PutActionsRequest.Builder,PutActionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<Action> actions) A list of action data.actions
(Consumer<Action.Builder>... actions) A list of action data.A list of action data.datasetArn
(String datasetArn) The Amazon Resource Name (ARN) of the Actions dataset you are adding the action or actions to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.personalizeevents.model.PersonalizeEventsRequest.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
-
datasetArn
The Amazon Resource Name (ARN) of the Actions dataset you are adding the action or actions to.
- Parameters:
datasetArn
- The Amazon Resource Name (ARN) of the Actions dataset you are adding the action or actions to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of action data.
- Parameters:
actions
- A list of action data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of action data.
- Parameters:
actions
- A list of action data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of action data.
This is a convenience method that creates an instance of theAction.Builder
avoiding the need to create one manually viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<Action>)
.- Parameters:
actions
- a consumer that will call methods onAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutActionsRequest.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
PutActionsRequest.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.
-