@Generated(value="software.amazon.awssdk:codegen") public final class KxClusterCodeDeploymentConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KxClusterCodeDeploymentConfiguration.Builder,KxClusterCodeDeploymentConfiguration>
The configuration that allows you to choose how you want to update code on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KxClusterCodeDeploymentConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KxClusterCodeDeploymentConfiguration.Builder |
builder() |
KxClusterCodeDeploymentStrategy |
deploymentStrategy()
The type of deployment that you want on a cluster.
|
String |
deploymentStrategyAsString()
The type of deployment that you want on a cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends KxClusterCodeDeploymentConfiguration.Builder> |
serializableBuilderClass() |
KxClusterCodeDeploymentConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final KxClusterCodeDeploymentStrategy deploymentStrategy()
The type of deployment that you want on a cluster.
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
If the service returns an enum value that is not available in the current SDK version,
deploymentStrategy will return KxClusterCodeDeploymentStrategy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from deploymentStrategyAsString().
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
KxClusterCodeDeploymentStrategypublic final String deploymentStrategyAsString()
The type of deployment that you want on a cluster.
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
If the service returns an enum value that is not available in the current SDK version,
deploymentStrategy will return KxClusterCodeDeploymentStrategy.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from deploymentStrategyAsString().
ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
KxClusterCodeDeploymentStrategypublic KxClusterCodeDeploymentConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KxClusterCodeDeploymentConfiguration.Builder,KxClusterCodeDeploymentConfiguration>public static KxClusterCodeDeploymentConfiguration.Builder builder()
public static Class<? extends KxClusterCodeDeploymentConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.