Interface UpdateListRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateListRequest.Builder,
,UpdateListRequest> FraudDetectorRequest.Builder
,SdkBuilder<UpdateListRequest.Builder,
,UpdateListRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateListRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The new description.One or more list elements to add or replace.elements
(Collection<String> elements) One or more list elements to add or replace.The name of the list to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updateMode
(String updateMode) The update mode (type).updateMode
(ListUpdateMode updateMode) The update mode (type).variableType
(String variableType) The variable type you want to assign to the list.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.frauddetector.model.FraudDetectorRequest.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
-
name
The name of the list to update.
- Parameters:
name
- The name of the list to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
One or more list elements to add or replace. If you are providing the elements, make sure to specify the
updateMode
to use.If you are deleting all elements from the list, use
REPLACE
for theupdateMode
and provide an empty list (0 elements).- Parameters:
elements
- One or more list elements to add or replace. If you are providing the elements, make sure to specify theupdateMode
to use.If you are deleting all elements from the list, use
REPLACE
for theupdateMode
and provide an empty list (0 elements).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
One or more list elements to add or replace. If you are providing the elements, make sure to specify the
updateMode
to use.If you are deleting all elements from the list, use
REPLACE
for theupdateMode
and provide an empty list (0 elements).- Parameters:
elements
- One or more list elements to add or replace. If you are providing the elements, make sure to specify theupdateMode
to use.If you are deleting all elements from the list, use
REPLACE
for theupdateMode
and provide an empty list (0 elements).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description.
- Parameters:
description
- The new description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateMode
The update mode (type).
-
Use
APPEND
if you are adding elements to the list. -
Use
REPLACE
if you replacing existing elements in the list. -
Use
REMOVE
if you are removing elements from the list.
- Parameters:
updateMode
- The update mode (type).-
Use
APPEND
if you are adding elements to the list. -
Use
REPLACE
if you replacing existing elements in the list. -
Use
REMOVE
if you are removing elements from the list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
updateMode
The update mode (type).
-
Use
APPEND
if you are adding elements to the list. -
Use
REPLACE
if you replacing existing elements in the list. -
Use
REMOVE
if you are removing elements from the list.
- Parameters:
updateMode
- The update mode (type).-
Use
APPEND
if you are adding elements to the list. -
Use
REPLACE
if you replacing existing elements in the list. -
Use
REMOVE
if you are removing elements from the list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
variableType
The variable type you want to assign to the list.
You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.
- Parameters:
variableType
- The variable type you want to assign to the list.You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateListRequest.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
UpdateListRequest.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.
-