All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.finspace.model.KxClusterCodeDeploymentConfiguration Maven / Gradle / Ivy

Go to download

The AWS Java SDK for FinSpace User Environment Management module holds the client classes that are used for communicating with FinSpace User Environment Management Service

The newest version!
/*
 * Copyright 2019-2024 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.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* 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 AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class KxClusterCodeDeploymentConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* 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 * GP type 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 initializationScript and * commandLineArguments parameters. *

    *
  • *
  • *

    * FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new * ones with the updated configuration. *

    *
  • *
*/ private String 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 * GP type 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 initializationScript and * commandLineArguments parameters. *

    *
  • *
  • *

    * FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new * ones with the updated configuration. *

    *
  • *
* * @param 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 GP type 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 initializationScript and * commandLineArguments parameters. *

    *
  • *
  • *

    * FORCE – This option updates the cluster by immediately stopping all the running processes before starting * up new ones with the updated configuration. *

    *
  • * @see KxClusterCodeDeploymentStrategy */ public void setDeploymentStrategy(String deploymentStrategy) { this.deploymentStrategy = 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 * GP type 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 initializationScript and * commandLineArguments parameters. *

      *
    • *
    • *

      * FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new * ones with the updated configuration. *

      *
    • *
    * * @return 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 GP type 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 initializationScript and * commandLineArguments parameters. *

      *
    • *
    • *

      * FORCE – This option updates the cluster by immediately stopping all the running processes before starting * up new ones with the updated configuration. *

      *
    • * @see KxClusterCodeDeploymentStrategy */ public String getDeploymentStrategy() { return this.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 * GP type 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 initializationScript and * commandLineArguments parameters. *

        *
      • *
      • *

        * FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new * ones with the updated configuration. *

        *
      • *
      * * @param 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 GP type 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 initializationScript and * commandLineArguments parameters. *

        *
      • *
      • *

        * FORCE – This option updates the cluster by immediately stopping all the running processes before starting * up new ones with the updated configuration. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see KxClusterCodeDeploymentStrategy */ public KxClusterCodeDeploymentConfiguration withDeploymentStrategy(String deploymentStrategy) { setDeploymentStrategy(deploymentStrategy); return this; } /** *

        * 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 * GP type 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 initializationScript and * commandLineArguments parameters. *

          *
        • *
        • *

          * FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new * ones with the updated configuration. *

          *
        • *
        * * @param 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 GP type 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 initializationScript and * commandLineArguments parameters. *

          *
        • *
        • *

          * FORCE – This option updates the cluster by immediately stopping all the running processes before starting * up new ones with the updated configuration. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see KxClusterCodeDeploymentStrategy */ public KxClusterCodeDeploymentConfiguration withDeploymentStrategy(KxClusterCodeDeploymentStrategy deploymentStrategy) { this.deploymentStrategy = deploymentStrategy.toString(); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getDeploymentStrategy() != null) sb.append("DeploymentStrategy: ").append(getDeploymentStrategy()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof KxClusterCodeDeploymentConfiguration == false) return false; KxClusterCodeDeploymentConfiguration other = (KxClusterCodeDeploymentConfiguration) obj; if (other.getDeploymentStrategy() == null ^ this.getDeploymentStrategy() == null) return false; if (other.getDeploymentStrategy() != null && other.getDeploymentStrategy().equals(this.getDeploymentStrategy()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDeploymentStrategy() == null) ? 0 : getDeploymentStrategy().hashCode()); return hashCode; } @Override public KxClusterCodeDeploymentConfiguration clone() { try { return (KxClusterCodeDeploymentConfiguration) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.finspace.model.transform.KxClusterCodeDeploymentConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy