Interface CreateKxVolumeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateKxVolumeRequest.Builder,CreateKxVolumeRequest>,FinspaceRequest.Builder,SdkBuilder<CreateKxVolumeRequest.Builder,CreateKxVolumeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateKxVolumeRequest
public static interface CreateKxVolumeRequest.Builder extends FinspaceRequest.Builder, SdkPojo, CopyableBuilder<CreateKxVolumeRequest.Builder,CreateKxVolumeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateKxVolumeRequest.BuilderavailabilityZoneIds(String... availabilityZoneIds)The identifier of the availability zones.CreateKxVolumeRequest.BuilderavailabilityZoneIds(Collection<String> availabilityZoneIds)The identifier of the availability zones.CreateKxVolumeRequest.BuilderazMode(String azMode)The number of availability zones you want to assign per cluster.CreateKxVolumeRequest.BuilderazMode(KxAzMode azMode)The number of availability zones you want to assign per cluster.CreateKxVolumeRequest.BuilderclientToken(String clientToken)A token that ensures idempotency.CreateKxVolumeRequest.Builderdescription(String description)A description of the volume.CreateKxVolumeRequest.BuilderenvironmentId(String environmentId)A unique identifier for the kdb environment, whose clusters can attach to the volume.default CreateKxVolumeRequest.Buildernas1Configuration(Consumer<KxNAS1Configuration.Builder> nas1Configuration)Specifies the configuration for the Network attached storage (NAS_1) file system volume.CreateKxVolumeRequest.Buildernas1Configuration(KxNAS1Configuration nas1Configuration)Specifies the configuration for the Network attached storage (NAS_1) file system volume.CreateKxVolumeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateKxVolumeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateKxVolumeRequest.Buildertags(Map<String,String> tags)A list of key-value pairs to label the volume.CreateKxVolumeRequest.BuildervolumeName(String volumeName)A unique identifier for the volume.CreateKxVolumeRequest.BuildervolumeType(String volumeType)The type of file system volume.CreateKxVolumeRequest.BuildervolumeType(KxVolumeType volumeType)The type of file system volume.-
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.finspace.model.FinspaceRequest.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
-
clientToken
CreateKxVolumeRequest.Builder clientToken(String clientToken)
A token that ensures idempotency. This token expires in 10 minutes.
- Parameters:
clientToken- A token that ensures idempotency. This token expires in 10 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
CreateKxVolumeRequest.Builder environmentId(String environmentId)
A unique identifier for the kdb environment, whose clusters can attach to the volume.
- Parameters:
environmentId- A unique identifier for the kdb environment, whose clusters can attach to the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeType
CreateKxVolumeRequest.Builder volumeType(String volumeType)
The type of file system volume. Currently, FinSpace only supports
NAS_1volume type. When you selectNAS_1volume type, you must also providenas1Configuration.- Parameters:
volumeType- The type of file system volume. Currently, FinSpace only supportsNAS_1volume type. When you selectNAS_1volume type, you must also providenas1Configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KxVolumeType,KxVolumeType
-
volumeType
CreateKxVolumeRequest.Builder volumeType(KxVolumeType volumeType)
The type of file system volume. Currently, FinSpace only supports
NAS_1volume type. When you selectNAS_1volume type, you must also providenas1Configuration.- Parameters:
volumeType- The type of file system volume. Currently, FinSpace only supportsNAS_1volume type. When you selectNAS_1volume type, you must also providenas1Configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KxVolumeType,KxVolumeType
-
volumeName
CreateKxVolumeRequest.Builder volumeName(String volumeName)
A unique identifier for the volume.
- Parameters:
volumeName- A unique identifier for the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateKxVolumeRequest.Builder description(String description)
A description of the volume.
- Parameters:
description- A description of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nas1Configuration
CreateKxVolumeRequest.Builder nas1Configuration(KxNAS1Configuration nas1Configuration)
Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choose
volumeTypeas NAS_1.- Parameters:
nas1Configuration- Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choosevolumeTypeas NAS_1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nas1Configuration
default CreateKxVolumeRequest.Builder nas1Configuration(Consumer<KxNAS1Configuration.Builder> nas1Configuration)
Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choose
This is a convenience method that creates an instance of thevolumeTypeas NAS_1.KxNAS1Configuration.Builderavoiding the need to create one manually viaKxNAS1Configuration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonas1Configuration(KxNAS1Configuration).- Parameters:
nas1Configuration- a consumer that will call methods onKxNAS1Configuration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
nas1Configuration(KxNAS1Configuration)
-
azMode
CreateKxVolumeRequest.Builder azMode(String azMode)
The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLEfor volumes.
-
azMode
CreateKxVolumeRequest.Builder azMode(KxAzMode azMode)
The number of availability zones you want to assign per cluster. Currently, FinSpace only support
SINGLEfor volumes.
-
availabilityZoneIds
CreateKxVolumeRequest.Builder availabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
- Parameters:
availabilityZoneIds- The identifier of the availability zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneIds
CreateKxVolumeRequest.Builder availabilityZoneIds(String... availabilityZoneIds)
The identifier of the availability zones.
- Parameters:
availabilityZoneIds- The identifier of the availability zones.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateKxVolumeRequest.Builder tags(Map<String,String> tags)
A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.
- Parameters:
tags- A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateKxVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateKxVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-