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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
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
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
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
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:
-
-
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:
-
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-