Interface UpdateListRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateListRequest.Builder,UpdateListRequest>,FraudDetectorRequest.Builder,SdkBuilder<UpdateListRequest.Builder,UpdateListRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateListRequest
public static interface UpdateListRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<UpdateListRequest.Builder,UpdateListRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateListRequest.Builderdescription(String description)The new description.UpdateListRequest.Builderelements(String... elements)One or more list elements to add or replace.UpdateListRequest.Builderelements(Collection<String> elements)One or more list elements to add or replace.UpdateListRequest.Buildername(String name)The name of the list to update.UpdateListRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateListRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateListRequest.BuilderupdateMode(String updateMode)The update mode (type).UpdateListRequest.BuilderupdateMode(ListUpdateMode updateMode)The update mode (type).UpdateListRequest.BuildervariableType(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 Detail
-
name
UpdateListRequest.Builder name(String 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
UpdateListRequest.Builder elements(Collection<String> elements)
One or more list elements to add or replace. If you are providing the elements, make sure to specify the
updateModeto use.If you are deleting all elements from the list, use
REPLACEfor theupdateModeand 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 theupdateModeto use.If you are deleting all elements from the list, use
REPLACEfor theupdateModeand provide an empty list (0 elements).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
UpdateListRequest.Builder elements(String... elements)
One or more list elements to add or replace. If you are providing the elements, make sure to specify the
updateModeto use.If you are deleting all elements from the list, use
REPLACEfor theupdateModeand 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 theupdateModeto use.If you are deleting all elements from the list, use
REPLACEfor theupdateModeand provide an empty list (0 elements).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateListRequest.Builder description(String 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
UpdateListRequest.Builder updateMode(String updateMode)
The update mode (type).
-
Use
APPENDif you are adding elements to the list. -
Use
REPLACEif you replacing existing elements in the list. -
Use
REMOVEif you are removing elements from the list.
- Parameters:
updateMode- The update mode (type).-
Use
APPENDif you are adding elements to the list. -
Use
REPLACEif you replacing existing elements in the list. -
Use
REMOVEif you are removing elements from the list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ListUpdateMode,ListUpdateMode
-
-
updateMode
UpdateListRequest.Builder updateMode(ListUpdateMode updateMode)
The update mode (type).
-
Use
APPENDif you are adding elements to the list. -
Use
REPLACEif you replacing existing elements in the list. -
Use
REMOVEif you are removing elements from the list.
- Parameters:
updateMode- The update mode (type).-
Use
APPENDif you are adding elements to the list. -
Use
REPLACEif you replacing existing elements in the list. -
Use
REMOVEif you are removing elements from the list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ListUpdateMode,ListUpdateMode
-
-
variableType
UpdateListRequest.Builder variableType(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-