Interface CreateListRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateListRequest.Builder,,CreateListRequest> FraudDetectorRequest.Builder,SdkBuilder<CreateListRequest.Builder,,CreateListRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateListRequest
public static interface CreateListRequest.Builder
extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<CreateListRequest.Builder,CreateListRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the list.The names of the elements, if providing.elements(Collection<String> elements) The names of the elements, if providing.The name of the list.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) A collection of the key and value pairs.tags(Consumer<Tag.Builder>... tags) A collection of the key and value pairs.A collection of the key and value pairs.variableType(String variableType) The variable type of 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the list.
- Parameters:
name- The name of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
- Parameters:
elements- The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
- Parameters:
elements- The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variableType
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
- Parameters:
variableType- The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the list.
- Parameters:
description- The description of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of the key and value pairs.
- Parameters:
tags- A collection of the key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of the key and value pairs.
- Parameters:
tags- A collection of the key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of the key and value pairs.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateListRequest.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
CreateListRequest.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.
-