Interface CreateTypeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTypeRequest.Builder,CreateTypeRequest>,KeyspacesRequest.Builder,SdkBuilder<CreateTypeRequest.Builder,CreateTypeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTypeRequest
public static interface CreateTypeRequest.Builder extends KeyspacesRequest.Builder, SdkPojo, CopyableBuilder<CreateTypeRequest.Builder,CreateTypeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateTypeRequest.BuilderfieldDefinitions(Collection<FieldDefinition> fieldDefinitions)The field definitions, consisting of names and types, that define this type.CreateTypeRequest.BuilderfieldDefinitions(Consumer<FieldDefinition.Builder>... fieldDefinitions)The field definitions, consisting of names and types, that define this type.CreateTypeRequest.BuilderfieldDefinitions(FieldDefinition... fieldDefinitions)The field definitions, consisting of names and types, that define this type.CreateTypeRequest.BuilderkeyspaceName(String keyspaceName)The name of the keyspace.CreateTypeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTypeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTypeRequest.BuildertypeName(String typeName)The name of the user-defined type.-
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.keyspaces.model.KeyspacesRequest.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 Detail
-
keyspaceName
CreateTypeRequest.Builder keyspaceName(String keyspaceName)
The name of the keyspace.
- Parameters:
keyspaceName- The name of the keyspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeName
CreateTypeRequest.Builder typeName(String typeName)
The name of the user-defined type.
UDT names must contain 48 characters or less, must begin with an alphabetic character, and can only contain alpha-numeric characters and underscores. Amazon Keyspaces converts upper case characters automatically into lower case characters.
Alternatively, you can declare a UDT name in double quotes. When declaring a UDT name inside double quotes, Amazon Keyspaces preserves upper casing and allows special characters.
You can also use double quotes as part of the name when you create the UDT, but you must escape each double quote character with an additional double quote character.
- Parameters:
typeName- The name of the user-defined type.UDT names must contain 48 characters or less, must begin with an alphabetic character, and can only contain alpha-numeric characters and underscores. Amazon Keyspaces converts upper case characters automatically into lower case characters.
Alternatively, you can declare a UDT name in double quotes. When declaring a UDT name inside double quotes, Amazon Keyspaces preserves upper casing and allows special characters.
You can also use double quotes as part of the name when you create the UDT, but you must escape each double quote character with an additional double quote character.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldDefinitions
CreateTypeRequest.Builder fieldDefinitions(Collection<FieldDefinition> fieldDefinitions)
The field definitions, consisting of names and types, that define this type.
- Parameters:
fieldDefinitions- The field definitions, consisting of names and types, that define this type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldDefinitions
CreateTypeRequest.Builder fieldDefinitions(FieldDefinition... fieldDefinitions)
The field definitions, consisting of names and types, that define this type.
- Parameters:
fieldDefinitions- The field definitions, consisting of names and types, that define this type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldDefinitions
CreateTypeRequest.Builder fieldDefinitions(Consumer<FieldDefinition.Builder>... fieldDefinitions)
The field definitions, consisting of names and types, that define this type.
This is a convenience method that creates an instance of theFieldDefinition.Builderavoiding the need to create one manually viaFieldDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fieldDefinitions(List.) - Parameters:
fieldDefinitions- a consumer that will call methods onFieldDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fieldDefinitions(java.util.Collection)
-
overrideConfiguration
CreateTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-