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

com.amazonaws.services.redshift.model.AquaConfiguration Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Redshift module holds the client classes that are used for communicating with Amazon Redshift Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2017-2022 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.redshift.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 

* The AQUA (Advanced Query Accelerator) configuration of the cluster. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AquaConfiguration implements Serializable, Cloneable { /** *

* The value indicates the status of AQUA on the cluster. Possible values include the following. *

*
    *
  • *

    * enabled - AQUA is enabled. *

    *
  • *
  • *

    * disabled - AQUA is not enabled. *

    *
  • *
  • *

    * applying - AQUA status is being applied. *

    *
  • *
*/ private String aquaStatus; /** *

* The value represents how the cluster is configured to use AQUA. Possible values include the following. *

*
    *
  • *

    * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node type. *

    *
  • *
  • *

    * disabled - Don't use AQUA. *

    *
  • *
  • *

    * auto - Amazon Redshift determines whether to use AQUA. *

    *
  • *
*/ private String aquaConfigurationStatus; /** *

* The value indicates the status of AQUA on the cluster. Possible values include the following. *

*
    *
  • *

    * enabled - AQUA is enabled. *

    *
  • *
  • *

    * disabled - AQUA is not enabled. *

    *
  • *
  • *

    * applying - AQUA status is being applied. *

    *
  • *
* * @param aquaStatus * The value indicates the status of AQUA on the cluster. Possible values include the following.

*
    *
  • *

    * enabled - AQUA is enabled. *

    *
  • *
  • *

    * disabled - AQUA is not enabled. *

    *
  • *
  • *

    * applying - AQUA status is being applied. *

    *
  • * @see AquaStatus */ public void setAquaStatus(String aquaStatus) { this.aquaStatus = aquaStatus; } /** *

    * The value indicates the status of AQUA on the cluster. Possible values include the following. *

    *
      *
    • *

      * enabled - AQUA is enabled. *

      *
    • *
    • *

      * disabled - AQUA is not enabled. *

      *
    • *
    • *

      * applying - AQUA status is being applied. *

      *
    • *
    * * @return The value indicates the status of AQUA on the cluster. Possible values include the following.

    *
      *
    • *

      * enabled - AQUA is enabled. *

      *
    • *
    • *

      * disabled - AQUA is not enabled. *

      *
    • *
    • *

      * applying - AQUA status is being applied. *

      *
    • * @see AquaStatus */ public String getAquaStatus() { return this.aquaStatus; } /** *

      * The value indicates the status of AQUA on the cluster. Possible values include the following. *

      *
        *
      • *

        * enabled - AQUA is enabled. *

        *
      • *
      • *

        * disabled - AQUA is not enabled. *

        *
      • *
      • *

        * applying - AQUA status is being applied. *

        *
      • *
      * * @param aquaStatus * The value indicates the status of AQUA on the cluster. Possible values include the following.

      *
        *
      • *

        * enabled - AQUA is enabled. *

        *
      • *
      • *

        * disabled - AQUA is not enabled. *

        *
      • *
      • *

        * applying - AQUA status is being applied. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see AquaStatus */ public AquaConfiguration withAquaStatus(String aquaStatus) { setAquaStatus(aquaStatus); return this; } /** *

        * The value indicates the status of AQUA on the cluster. Possible values include the following. *

        *
          *
        • *

          * enabled - AQUA is enabled. *

          *
        • *
        • *

          * disabled - AQUA is not enabled. *

          *
        • *
        • *

          * applying - AQUA status is being applied. *

          *
        • *
        * * @param aquaStatus * The value indicates the status of AQUA on the cluster. Possible values include the following.

        *
          *
        • *

          * enabled - AQUA is enabled. *

          *
        • *
        • *

          * disabled - AQUA is not enabled. *

          *
        • *
        • *

          * applying - AQUA status is being applied. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see AquaStatus */ public AquaConfiguration withAquaStatus(AquaStatus aquaStatus) { this.aquaStatus = aquaStatus.toString(); return this; } /** *

          * The value represents how the cluster is configured to use AQUA. Possible values include the following. *

          *
            *
          • *

            * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node type. *

            *
          • *
          • *

            * disabled - Don't use AQUA. *

            *
          • *
          • *

            * auto - Amazon Redshift determines whether to use AQUA. *

            *
          • *
          * * @param aquaConfigurationStatus * The value represents how the cluster is configured to use AQUA. Possible values include the following.

          *
            *
          • *

            * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node * type. *

            *
          • *
          • *

            * disabled - Don't use AQUA. *

            *
          • *
          • *

            * auto - Amazon Redshift determines whether to use AQUA. *

            *
          • * @see AquaConfigurationStatus */ public void setAquaConfigurationStatus(String aquaConfigurationStatus) { this.aquaConfigurationStatus = aquaConfigurationStatus; } /** *

            * The value represents how the cluster is configured to use AQUA. Possible values include the following. *

            *
              *
            • *

              * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node type. *

              *
            • *
            • *

              * disabled - Don't use AQUA. *

              *
            • *
            • *

              * auto - Amazon Redshift determines whether to use AQUA. *

              *
            • *
            * * @return The value represents how the cluster is configured to use AQUA. Possible values include the * following.

            *
              *
            • *

              * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node * type. *

              *
            • *
            • *

              * disabled - Don't use AQUA. *

              *
            • *
            • *

              * auto - Amazon Redshift determines whether to use AQUA. *

              *
            • * @see AquaConfigurationStatus */ public String getAquaConfigurationStatus() { return this.aquaConfigurationStatus; } /** *

              * The value represents how the cluster is configured to use AQUA. Possible values include the following. *

              *
                *
              • *

                * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node type. *

                *
              • *
              • *

                * disabled - Don't use AQUA. *

                *
              • *
              • *

                * auto - Amazon Redshift determines whether to use AQUA. *

                *
              • *
              * * @param aquaConfigurationStatus * The value represents how the cluster is configured to use AQUA. Possible values include the following.

              *
                *
              • *

                * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node * type. *

                *
              • *
              • *

                * disabled - Don't use AQUA. *

                *
              • *
              • *

                * auto - Amazon Redshift determines whether to use AQUA. *

                *
              • * @return Returns a reference to this object so that method calls can be chained together. * @see AquaConfigurationStatus */ public AquaConfiguration withAquaConfigurationStatus(String aquaConfigurationStatus) { setAquaConfigurationStatus(aquaConfigurationStatus); return this; } /** *

                * The value represents how the cluster is configured to use AQUA. Possible values include the following. *

                *
                  *
                • *

                  * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node type. *

                  *
                • *
                • *

                  * disabled - Don't use AQUA. *

                  *
                • *
                • *

                  * auto - Amazon Redshift determines whether to use AQUA. *

                  *
                • *
                * * @param aquaConfigurationStatus * The value represents how the cluster is configured to use AQUA. Possible values include the following.

                *
                  *
                • *

                  * enabled - Use AQUA if it is available for the current Amazon Web Services Region and Amazon Redshift node * type. *

                  *
                • *
                • *

                  * disabled - Don't use AQUA. *

                  *
                • *
                • *

                  * auto - Amazon Redshift determines whether to use AQUA. *

                  *
                • * @return Returns a reference to this object so that method calls can be chained together. * @see AquaConfigurationStatus */ public AquaConfiguration withAquaConfigurationStatus(AquaConfigurationStatus aquaConfigurationStatus) { this.aquaConfigurationStatus = aquaConfigurationStatus.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 (getAquaStatus() != null) sb.append("AquaStatus: ").append(getAquaStatus()).append(","); if (getAquaConfigurationStatus() != null) sb.append("AquaConfigurationStatus: ").append(getAquaConfigurationStatus()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof AquaConfiguration == false) return false; AquaConfiguration other = (AquaConfiguration) obj; if (other.getAquaStatus() == null ^ this.getAquaStatus() == null) return false; if (other.getAquaStatus() != null && other.getAquaStatus().equals(this.getAquaStatus()) == false) return false; if (other.getAquaConfigurationStatus() == null ^ this.getAquaConfigurationStatus() == null) return false; if (other.getAquaConfigurationStatus() != null && other.getAquaConfigurationStatus().equals(this.getAquaConfigurationStatus()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAquaStatus() == null) ? 0 : getAquaStatus().hashCode()); hashCode = prime * hashCode + ((getAquaConfigurationStatus() == null) ? 0 : getAquaConfigurationStatus().hashCode()); return hashCode; } @Override public AquaConfiguration clone() { try { return (AquaConfiguration) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy