/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.finspace.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateKxClusterRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A token that ensures idempotency. This token expires in 10 minutes. *
*/ private String clientToken; /** ** A unique identifier for the kdb environment. *
*/ private String environmentId; /** ** A unique name for the cluster that you want to create. *
*/ private String clusterName; /** ** Specifies the type of KDB database that is being created. The following types are available: *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace * managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in
* memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster
* type requires local storage for temporary storage of data during the savedown process. If you specify this field
* in your request, you must provide the savedownStorageConfiguration
parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create * your own routing logic using the initialization scripts and custom code. This type of cluster does not require a * writable local storage. *
** A list of databases that will be available for querying. *
*/ private java.util.List* The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx * Lustre that reads from the S3 store. *
*/ private java.util.List* The configuration based on which FinSpace will scale in or scale out nodes in your cluster. *
*/ private AutoScalingConfiguration autoScalingConfiguration; /** ** A description of the cluster. *
*/ private String clusterDescription; /** ** A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of * instances, number of instances, and the port used while establishing a connection. *
*/ private CapacityConfiguration capacityConfiguration; /** ** The version of FinSpace managed kdb to run. *
*/ private String releaseLabel; /** ** Configuration details about the network where the Privatelink endpoint of the cluster resides. *
*/ private VpcConfiguration vpcConfiguration; /** *
* Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that
* contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example,
* somedir/init.q
.
*
* Defines the key-value pairs to make them available inside the cluster. *
*/ private java.util.List* The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 * source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the * cluster. *
*/ private CodeConfiguration code; /** ** An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a * cluster attempts to access another cluster. *
*/ private String executionRole; /** *
* The size and type of the temporary storage that is used to hold data during the savedown process. This parameter
* is required when you choose clusterType
as RDB. All the data written to this storage space is lost
* when the cluster node is restarted.
*
* The number of availability zones you want to assign per cluster. This can be one of the following *
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* The availability zone identifiers for the requested regions. *
*/ private String availabilityZoneId; /** ** A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. *
*/ private java.util.Map* A token that ensures idempotency. This token expires in 10 minutes. *
* * @param clientToken * A token that ensures idempotency. This token expires in 10 minutes. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** ** A token that ensures idempotency. This token expires in 10 minutes. *
* * @return A token that ensures idempotency. This token expires in 10 minutes. */ public String getClientToken() { return this.clientToken; } /** ** A token that ensures idempotency. This token expires in 10 minutes. *
* * @param clientToken * A token that ensures idempotency. This token expires in 10 minutes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** A unique identifier for the kdb environment. *
* * @param environmentId * A unique identifier for the kdb environment. */ public void setEnvironmentId(String environmentId) { this.environmentId = environmentId; } /** ** A unique identifier for the kdb environment. *
* * @return A unique identifier for the kdb environment. */ public String getEnvironmentId() { return this.environmentId; } /** ** A unique identifier for the kdb environment. *
* * @param environmentId * A unique identifier for the kdb environment. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withEnvironmentId(String environmentId) { setEnvironmentId(environmentId); return this; } /** ** A unique name for the cluster that you want to create. *
* * @param clusterName * A unique name for the cluster that you want to create. */ public void setClusterName(String clusterName) { this.clusterName = clusterName; } /** ** A unique name for the cluster that you want to create. *
* * @return A unique name for the cluster that you want to create. */ public String getClusterName() { return this.clusterName; } /** ** A unique name for the cluster that you want to create. *
* * @param clusterName * A unique name for the cluster that you want to create. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withClusterName(String clusterName) { setClusterName(clusterName); return this; } /** ** Specifies the type of KDB database that is being created. The following types are available: *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace * managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in
* memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster
* type requires local storage for temporary storage of data during the savedown process. If you specify this field
* in your request, you must provide the savedownStorageConfiguration
parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create * your own routing logic using the initialization scripts and custom code. This type of cluster does not require a * writable local storage. *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the * FinSpace managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it
* in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This
* cluster type requires local storage for temporary storage of data during the savedown process. If you
* specify this field in your request, you must provide the savedownStorageConfiguration
* parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to * create your own routing logic using the initialization scripts and custom code. This type of cluster does * not require a writable local storage. *
** Specifies the type of KDB database that is being created. The following types are available: *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace * managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in
* memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster
* type requires local storage for temporary storage of data during the savedown process. If you specify this field
* in your request, you must provide the savedownStorageConfiguration
parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create * your own routing logic using the initialization scripts and custom code. This type of cluster does not require a * writable local storage. *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the * FinSpace managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it
* in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This
* cluster type requires local storage for temporary storage of data during the savedown process. If you
* specify this field in your request, you must provide the savedownStorageConfiguration
* parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to * create your own routing logic using the initialization scripts and custom code. This type of cluster does * not require a writable local storage. *
** Specifies the type of KDB database that is being created. The following types are available: *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace * managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in
* memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster
* type requires local storage for temporary storage of data during the savedown process. If you specify this field
* in your request, you must provide the savedownStorageConfiguration
parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create * your own routing logic using the initialization scripts and custom code. This type of cluster does not require a * writable local storage. *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the * FinSpace managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it
* in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This
* cluster type requires local storage for temporary storage of data during the savedown process. If you
* specify this field in your request, you must provide the savedownStorageConfiguration
* parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to * create your own routing logic using the initialization scripts and custom code. This type of cluster does * not require a writable local storage. *
** Specifies the type of KDB database that is being created. The following types are available: *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace * managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in
* memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster
* type requires local storage for temporary storage of data during the savedown process. If you specify this field
* in your request, you must provide the savedownStorageConfiguration
parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create * your own routing logic using the initialization scripts and custom code. This type of cluster does not require a * writable local storage. *
** HDB – A Historical Database. The data is only accessible with read-only permissions from one of the * FinSpace managed kdb databases mounted to the cluster. *
*
* RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it
* in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This
* cluster type requires local storage for temporary storage of data during the savedown process. If you
* specify this field in your request, you must provide the savedownStorageConfiguration
* parameter.
*
* GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to * create your own routing logic using the initialization scripts and custom code. This type of cluster does * not require a writable local storage. *
** A list of databases that will be available for querying. *
* * @return A list of databases that will be available for querying. */ public java.util.List* A list of databases that will be available for querying. *
* * @param databases * A list of databases that will be available for querying. */ public void setDatabases(java.util.Collection* A list of databases that will be available for querying. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDatabases(java.util.Collection)} or {@link #withDatabases(java.util.Collection)} if you want to * override the existing values. *
* * @param databases * A list of databases that will be available for querying. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withDatabases(KxDatabaseConfiguration... databases) { if (this.databases == null) { setDatabases(new java.util.ArrayList* A list of databases that will be available for querying. *
* * @param databases * A list of databases that will be available for querying. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withDatabases(java.util.Collection* The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx * Lustre that reads from the S3 store. *
* * @return The configurations for a read only cache storage associated with a cluster. This cache will be stored as * an FSx Lustre that reads from the S3 store. */ public java.util.List* The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx * Lustre that reads from the S3 store. *
* * @param cacheStorageConfigurations * The configurations for a read only cache storage associated with a cluster. This cache will be stored as * an FSx Lustre that reads from the S3 store. */ public void setCacheStorageConfigurations(java.util.Collection* The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx * Lustre that reads from the S3 store. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCacheStorageConfigurations(java.util.Collection)} or * {@link #withCacheStorageConfigurations(java.util.Collection)} if you want to override the existing values. *
* * @param cacheStorageConfigurations * The configurations for a read only cache storage associated with a cluster. This cache will be stored as * an FSx Lustre that reads from the S3 store. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withCacheStorageConfigurations(KxCacheStorageConfiguration... cacheStorageConfigurations) { if (this.cacheStorageConfigurations == null) { setCacheStorageConfigurations(new java.util.ArrayList* The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx * Lustre that reads from the S3 store. *
* * @param cacheStorageConfigurations * The configurations for a read only cache storage associated with a cluster. This cache will be stored as * an FSx Lustre that reads from the S3 store. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withCacheStorageConfigurations(java.util.Collection* The configuration based on which FinSpace will scale in or scale out nodes in your cluster. *
* * @param autoScalingConfiguration * The configuration based on which FinSpace will scale in or scale out nodes in your cluster. */ public void setAutoScalingConfiguration(AutoScalingConfiguration autoScalingConfiguration) { this.autoScalingConfiguration = autoScalingConfiguration; } /** ** The configuration based on which FinSpace will scale in or scale out nodes in your cluster. *
* * @return The configuration based on which FinSpace will scale in or scale out nodes in your cluster. */ public AutoScalingConfiguration getAutoScalingConfiguration() { return this.autoScalingConfiguration; } /** ** The configuration based on which FinSpace will scale in or scale out nodes in your cluster. *
* * @param autoScalingConfiguration * The configuration based on which FinSpace will scale in or scale out nodes in your cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withAutoScalingConfiguration(AutoScalingConfiguration autoScalingConfiguration) { setAutoScalingConfiguration(autoScalingConfiguration); return this; } /** ** A description of the cluster. *
* * @param clusterDescription * A description of the cluster. */ public void setClusterDescription(String clusterDescription) { this.clusterDescription = clusterDescription; } /** ** A description of the cluster. *
* * @return A description of the cluster. */ public String getClusterDescription() { return this.clusterDescription; } /** ** A description of the cluster. *
* * @param clusterDescription * A description of the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withClusterDescription(String clusterDescription) { setClusterDescription(clusterDescription); return this; } /** ** A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of * instances, number of instances, and the port used while establishing a connection. *
* * @param capacityConfiguration * A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of * instances, number of instances, and the port used while establishing a connection. */ public void setCapacityConfiguration(CapacityConfiguration capacityConfiguration) { this.capacityConfiguration = capacityConfiguration; } /** ** A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of * instances, number of instances, and the port used while establishing a connection. *
* * @return A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of * instances, number of instances, and the port used while establishing a connection. */ public CapacityConfiguration getCapacityConfiguration() { return this.capacityConfiguration; } /** ** A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of * instances, number of instances, and the port used while establishing a connection. *
* * @param capacityConfiguration * A structure for the metadata of a cluster. It includes information about like the CPUs needed, memory of * instances, number of instances, and the port used while establishing a connection. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withCapacityConfiguration(CapacityConfiguration capacityConfiguration) { setCapacityConfiguration(capacityConfiguration); return this; } /** ** The version of FinSpace managed kdb to run. *
* * @param releaseLabel * The version of FinSpace managed kdb to run. */ public void setReleaseLabel(String releaseLabel) { this.releaseLabel = releaseLabel; } /** ** The version of FinSpace managed kdb to run. *
* * @return The version of FinSpace managed kdb to run. */ public String getReleaseLabel() { return this.releaseLabel; } /** ** The version of FinSpace managed kdb to run. *
* * @param releaseLabel * The version of FinSpace managed kdb to run. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withReleaseLabel(String releaseLabel) { setReleaseLabel(releaseLabel); return this; } /** ** Configuration details about the network where the Privatelink endpoint of the cluster resides. *
* * @param vpcConfiguration * Configuration details about the network where the Privatelink endpoint of the cluster resides. */ public void setVpcConfiguration(VpcConfiguration vpcConfiguration) { this.vpcConfiguration = vpcConfiguration; } /** ** Configuration details about the network where the Privatelink endpoint of the cluster resides. *
* * @return Configuration details about the network where the Privatelink endpoint of the cluster resides. */ public VpcConfiguration getVpcConfiguration() { return this.vpcConfiguration; } /** ** Configuration details about the network where the Privatelink endpoint of the cluster resides. *
* * @param vpcConfiguration * Configuration details about the network where the Privatelink endpoint of the cluster resides. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withVpcConfiguration(VpcConfiguration vpcConfiguration) { setVpcConfiguration(vpcConfiguration); return this; } /** *
* Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that
* contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example,
* somedir/init.q
.
*
somedir/init.q
.
*/
public void setInitializationScript(String initializationScript) {
this.initializationScript = initializationScript;
}
/**
*
* Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that
* contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example,
* somedir/init.q
.
*
somedir/init.q
.
*/
public String getInitializationScript() {
return this.initializationScript;
}
/**
*
* Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that
* contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example,
* somedir/init.q
.
*
somedir/init.q
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateKxClusterRequest withInitializationScript(String initializationScript) {
setInitializationScript(initializationScript);
return this;
}
/**
* * Defines the key-value pairs to make them available inside the cluster. *
* * @return Defines the key-value pairs to make them available inside the cluster. */ public java.util.List* Defines the key-value pairs to make them available inside the cluster. *
* * @param commandLineArguments * Defines the key-value pairs to make them available inside the cluster. */ public void setCommandLineArguments(java.util.Collection* Defines the key-value pairs to make them available inside the cluster. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setCommandLineArguments(java.util.Collection)} or {@link #withCommandLineArguments(java.util.Collection)} * if you want to override the existing values. *
* * @param commandLineArguments * Defines the key-value pairs to make them available inside the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withCommandLineArguments(KxCommandLineArgument... commandLineArguments) { if (this.commandLineArguments == null) { setCommandLineArguments(new java.util.ArrayList* Defines the key-value pairs to make them available inside the cluster. *
* * @param commandLineArguments * Defines the key-value pairs to make them available inside the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withCommandLineArguments(java.util.Collection* The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 * source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the * cluster. *
* * @param code * The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of * the S3 source bucket, location, S3 object version, and the relative path from where the custom code is * loaded into the cluster. */ public void setCode(CodeConfiguration code) { this.code = code; } /** ** The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 * source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the * cluster. *
* * @return The details of the custom code that you want to use inside a cluster when analyzing a data. It consists * of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is * loaded into the cluster. */ public CodeConfiguration getCode() { return this.code; } /** ** The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 * source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the * cluster. *
* * @param code * The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of * the S3 source bucket, location, S3 object version, and the relative path from where the custom code is * loaded into the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withCode(CodeConfiguration code) { setCode(code); return this; } /** ** An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a * cluster attempts to access another cluster. *
* * @param executionRole * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed * when a cluster attempts to access another cluster. */ public void setExecutionRole(String executionRole) { this.executionRole = executionRole; } /** ** An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a * cluster attempts to access another cluster. *
* * @return An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed * when a cluster attempts to access another cluster. */ public String getExecutionRole() { return this.executionRole; } /** ** An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a * cluster attempts to access another cluster. *
* * @param executionRole * An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed * when a cluster attempts to access another cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withExecutionRole(String executionRole) { setExecutionRole(executionRole); return this; } /** *
* The size and type of the temporary storage that is used to hold data during the savedown process. This parameter
* is required when you choose clusterType
as RDB. All the data written to this storage space is lost
* when the cluster node is restarted.
*
clusterType
as RDB. All the data written to this
* storage space is lost when the cluster node is restarted.
*/
public void setSavedownStorageConfiguration(KxSavedownStorageConfiguration savedownStorageConfiguration) {
this.savedownStorageConfiguration = savedownStorageConfiguration;
}
/**
*
* The size and type of the temporary storage that is used to hold data during the savedown process. This parameter
* is required when you choose clusterType
as RDB. All the data written to this storage space is lost
* when the cluster node is restarted.
*
clusterType
as RDB. All the data written to this
* storage space is lost when the cluster node is restarted.
*/
public KxSavedownStorageConfiguration getSavedownStorageConfiguration() {
return this.savedownStorageConfiguration;
}
/**
*
* The size and type of the temporary storage that is used to hold data during the savedown process. This parameter
* is required when you choose clusterType
as RDB. All the data written to this storage space is lost
* when the cluster node is restarted.
*
clusterType
as RDB. All the data written to this
* storage space is lost when the cluster node is restarted.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateKxClusterRequest withSavedownStorageConfiguration(KxSavedownStorageConfiguration savedownStorageConfiguration) {
setSavedownStorageConfiguration(savedownStorageConfiguration);
return this;
}
/**
* * The number of availability zones you want to assign per cluster. This can be one of the following *
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* The number of availability zones you want to assign per cluster. This can be one of the following *
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* The number of availability zones you want to assign per cluster. This can be one of the following *
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* The number of availability zones you want to assign per cluster. This can be one of the following *
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* SINGLE
– Assigns one availability zone per cluster.
*
* MULTI
– Assigns all the availability zones per cluster.
*
* The availability zone identifiers for the requested regions. *
* * @param availabilityZoneId * The availability zone identifiers for the requested regions. */ public void setAvailabilityZoneId(String availabilityZoneId) { this.availabilityZoneId = availabilityZoneId; } /** ** The availability zone identifiers for the requested regions. *
* * @return The availability zone identifiers for the requested regions. */ public String getAvailabilityZoneId() { return this.availabilityZoneId; } /** ** The availability zone identifiers for the requested regions. *
* * @param availabilityZoneId * The availability zone identifiers for the requested regions. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withAvailabilityZoneId(String availabilityZoneId) { setAvailabilityZoneId(availabilityZoneId); return this; } /** ** A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. *
* * @return A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. */ public java.util.Map* A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. *
* * @param tags * A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. */ public void setTags(java.util.Map* A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. *
* * @param tags * A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateKxClusterRequest withTags(java.util.Map