Class KxClusterCodeDeploymentConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.finspace.model.KxClusterCodeDeploymentConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KxClusterCodeDeploymentConfiguration.Builder,KxClusterCodeDeploymentConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKxClusterCodeDeploymentConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KxClusterCodeDeploymentConfiguration.Builderbuilder()KxClusterCodeDeploymentStrategydeploymentStrategy()The type of deployment that you want on a cluster.StringdeploymentStrategyAsString()The type of deployment that you want on a cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends KxClusterCodeDeploymentConfiguration.Builder>serializableBuilderClass()KxClusterCodeDeploymentConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deploymentStrategy
public 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.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
GPtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters. -
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,
deploymentStrategywill returnKxClusterCodeDeploymentStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStrategyAsString().- Returns:
- 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.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
GPtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters. -
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
-
- See Also:
KxClusterCodeDeploymentStrategy
-
-
deploymentStrategyAsString
public 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.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
GPtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters. -
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,
deploymentStrategywill returnKxClusterCodeDeploymentStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStrategyAsString().- Returns:
- 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.
-
NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for
GPtype cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster.With this deployment mode, you cannot update the
initializationScriptandcommandLineArgumentsparameters. -
FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.
-
- See Also:
KxClusterCodeDeploymentStrategy
-
-
toBuilder
public KxClusterCodeDeploymentConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KxClusterCodeDeploymentConfiguration.Builder,KxClusterCodeDeploymentConfiguration>
-
builder
public static KxClusterCodeDeploymentConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends KxClusterCodeDeploymentConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-