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

com.amazonaws.services.rds.model.ImportInstallationMediaRequest Maven / Gradle / Ivy

/*
 * Copyright 2015-2020 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.rds.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 ImportInstallationMediaRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The identifier of the custom Availability Zone (AZ) to import the installation media to. *

*/ private String customAvailabilityZoneId; /** *

* The name of the database engine to be used for this instance. *

*

* The list only includes supported DB engines that require an on-premises customer provided license. *

*

* Valid Values: *

*
    *
  • *

    * sqlserver-ee *

    *
  • *
  • *

    * sqlserver-se *

    *
  • *
  • *

    * sqlserver-ex *

    *
  • *
  • *

    * sqlserver-web *

    *
  • *
*/ private String engine; /** *

* The version number of the database engine to use. *

*

* For a list of valid engine versions, call DescribeDBEngineVersions. *

*

* The following are the database engines and links to information about the major and minor versions. The list only * includes DB engines that require an on-premises customer provided license. *

*

* Microsoft SQL Server *

*

* See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. *

*/ private String engineVersion; /** *

* The path to the installation medium for the specified DB engine. *

*

* Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso *

*/ private String engineInstallationMediaPath; /** *

* The path to the installation medium for the operating system associated with the specified DB engine. *

*

* Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso *

*/ private String oSInstallationMediaPath; /** *

* The identifier of the custom Availability Zone (AZ) to import the installation media to. *

* * @param customAvailabilityZoneId * The identifier of the custom Availability Zone (AZ) to import the installation media to. */ public void setCustomAvailabilityZoneId(String customAvailabilityZoneId) { this.customAvailabilityZoneId = customAvailabilityZoneId; } /** *

* The identifier of the custom Availability Zone (AZ) to import the installation media to. *

* * @return The identifier of the custom Availability Zone (AZ) to import the installation media to. */ public String getCustomAvailabilityZoneId() { return this.customAvailabilityZoneId; } /** *

* The identifier of the custom Availability Zone (AZ) to import the installation media to. *

* * @param customAvailabilityZoneId * The identifier of the custom Availability Zone (AZ) to import the installation media to. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportInstallationMediaRequest withCustomAvailabilityZoneId(String customAvailabilityZoneId) { setCustomAvailabilityZoneId(customAvailabilityZoneId); return this; } /** *

* The name of the database engine to be used for this instance. *

*

* The list only includes supported DB engines that require an on-premises customer provided license. *

*

* Valid Values: *

*
    *
  • *

    * sqlserver-ee *

    *
  • *
  • *

    * sqlserver-se *

    *
  • *
  • *

    * sqlserver-ex *

    *
  • *
  • *

    * sqlserver-web *

    *
  • *
* * @param engine * The name of the database engine to be used for this instance.

*

* The list only includes supported DB engines that require an on-premises customer provided license. *

*

* Valid Values: *

*
    *
  • *

    * sqlserver-ee *

    *
  • *
  • *

    * sqlserver-se *

    *
  • *
  • *

    * sqlserver-ex *

    *
  • *
  • *

    * sqlserver-web *

    *
  • */ public void setEngine(String engine) { this.engine = engine; } /** *

    * The name of the database engine to be used for this instance. *

    *

    * The list only includes supported DB engines that require an on-premises customer provided license. *

    *

    * Valid Values: *

    *
      *
    • *

      * sqlserver-ee *

      *
    • *
    • *

      * sqlserver-se *

      *
    • *
    • *

      * sqlserver-ex *

      *
    • *
    • *

      * sqlserver-web *

      *
    • *
    * * @return The name of the database engine to be used for this instance.

    *

    * The list only includes supported DB engines that require an on-premises customer provided license. *

    *

    * Valid Values: *

    *
      *
    • *

      * sqlserver-ee *

      *
    • *
    • *

      * sqlserver-se *

      *
    • *
    • *

      * sqlserver-ex *

      *
    • *
    • *

      * sqlserver-web *

      *
    • */ public String getEngine() { return this.engine; } /** *

      * The name of the database engine to be used for this instance. *

      *

      * The list only includes supported DB engines that require an on-premises customer provided license. *

      *

      * Valid Values: *

      *
        *
      • *

        * sqlserver-ee *

        *
      • *
      • *

        * sqlserver-se *

        *
      • *
      • *

        * sqlserver-ex *

        *
      • *
      • *

        * sqlserver-web *

        *
      • *
      * * @param engine * The name of the database engine to be used for this instance.

      *

      * The list only includes supported DB engines that require an on-premises customer provided license. *

      *

      * Valid Values: *

      *
        *
      • *

        * sqlserver-ee *

        *
      • *
      • *

        * sqlserver-se *

        *
      • *
      • *

        * sqlserver-ex *

        *
      • *
      • *

        * sqlserver-web *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public ImportInstallationMediaRequest withEngine(String engine) { setEngine(engine); return this; } /** *

        * The version number of the database engine to use. *

        *

        * For a list of valid engine versions, call DescribeDBEngineVersions. *

        *

        * The following are the database engines and links to information about the major and minor versions. The list only * includes DB engines that require an on-premises customer provided license. *

        *

        * Microsoft SQL Server *

        *

        * See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. *

        * * @param engineVersion * The version number of the database engine to use.

        *

        * For a list of valid engine versions, call DescribeDBEngineVersions. *

        *

        * The following are the database engines and links to information about the major and minor versions. The * list only includes DB engines that require an on-premises customer provided license. *

        *

        * Microsoft SQL Server *

        *

        * See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. */ public void setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; } /** *

        * The version number of the database engine to use. *

        *

        * For a list of valid engine versions, call DescribeDBEngineVersions. *

        *

        * The following are the database engines and links to information about the major and minor versions. The list only * includes DB engines that require an on-premises customer provided license. *

        *

        * Microsoft SQL Server *

        *

        * See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. *

        * * @return The version number of the database engine to use.

        *

        * For a list of valid engine versions, call DescribeDBEngineVersions. *

        *

        * The following are the database engines and links to information about the major and minor versions. The * list only includes DB engines that require an on-premises customer provided license. *

        *

        * Microsoft SQL Server *

        *

        * See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. */ public String getEngineVersion() { return this.engineVersion; } /** *

        * The version number of the database engine to use. *

        *

        * For a list of valid engine versions, call DescribeDBEngineVersions. *

        *

        * The following are the database engines and links to information about the major and minor versions. The list only * includes DB engines that require an on-premises customer provided license. *

        *

        * Microsoft SQL Server *

        *

        * See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. *

        * * @param engineVersion * The version number of the database engine to use.

        *

        * For a list of valid engine versions, call DescribeDBEngineVersions. *

        *

        * The following are the database engines and links to information about the major and minor versions. The * list only includes DB engines that require an on-premises customer provided license. *

        *

        * Microsoft SQL Server *

        *

        * See Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public ImportInstallationMediaRequest withEngineVersion(String engineVersion) { setEngineVersion(engineVersion); return this; } /** *

        * The path to the installation medium for the specified DB engine. *

        *

        * Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso *

        * * @param engineInstallationMediaPath * The path to the installation medium for the specified DB engine.

        *

        * Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso */ public void setEngineInstallationMediaPath(String engineInstallationMediaPath) { this.engineInstallationMediaPath = engineInstallationMediaPath; } /** *

        * The path to the installation medium for the specified DB engine. *

        *

        * Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso *

        * * @return The path to the installation medium for the specified DB engine.

        *

        * Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso */ public String getEngineInstallationMediaPath() { return this.engineInstallationMediaPath; } /** *

        * The path to the installation medium for the specified DB engine. *

        *

        * Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso *

        * * @param engineInstallationMediaPath * The path to the installation medium for the specified DB engine.

        *

        * Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso * @return Returns a reference to this object so that method calls can be chained together. */ public ImportInstallationMediaRequest withEngineInstallationMediaPath(String engineInstallationMediaPath) { setEngineInstallationMediaPath(engineInstallationMediaPath); return this; } /** *

        * The path to the installation medium for the operating system associated with the specified DB engine. *

        *

        * Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso *

        * * @param oSInstallationMediaPath * The path to the installation medium for the operating system associated with the specified DB engine.

        *

        * Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso */ public void setOSInstallationMediaPath(String oSInstallationMediaPath) { this.oSInstallationMediaPath = oSInstallationMediaPath; } /** *

        * The path to the installation medium for the operating system associated with the specified DB engine. *

        *

        * Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso *

        * * @return The path to the installation medium for the operating system associated with the specified DB engine.

        *

        * Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso */ public String getOSInstallationMediaPath() { return this.oSInstallationMediaPath; } /** *

        * The path to the installation medium for the operating system associated with the specified DB engine. *

        *

        * Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso *

        * * @param oSInstallationMediaPath * The path to the installation medium for the operating system associated with the specified DB engine.

        *

        * Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso * @return Returns a reference to this object so that method calls can be chained together. */ public ImportInstallationMediaRequest withOSInstallationMediaPath(String oSInstallationMediaPath) { setOSInstallationMediaPath(oSInstallationMediaPath); 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 (getCustomAvailabilityZoneId() != null) sb.append("CustomAvailabilityZoneId: ").append(getCustomAvailabilityZoneId()).append(","); if (getEngine() != null) sb.append("Engine: ").append(getEngine()).append(","); if (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getEngineInstallationMediaPath() != null) sb.append("EngineInstallationMediaPath: ").append(getEngineInstallationMediaPath()).append(","); if (getOSInstallationMediaPath() != null) sb.append("OSInstallationMediaPath: ").append(getOSInstallationMediaPath()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ImportInstallationMediaRequest == false) return false; ImportInstallationMediaRequest other = (ImportInstallationMediaRequest) obj; if (other.getCustomAvailabilityZoneId() == null ^ this.getCustomAvailabilityZoneId() == null) return false; if (other.getCustomAvailabilityZoneId() != null && other.getCustomAvailabilityZoneId().equals(this.getCustomAvailabilityZoneId()) == false) return false; if (other.getEngine() == null ^ this.getEngine() == null) return false; if (other.getEngine() != null && other.getEngine().equals(this.getEngine()) == false) return false; if (other.getEngineVersion() == null ^ this.getEngineVersion() == null) return false; if (other.getEngineVersion() != null && other.getEngineVersion().equals(this.getEngineVersion()) == false) return false; if (other.getEngineInstallationMediaPath() == null ^ this.getEngineInstallationMediaPath() == null) return false; if (other.getEngineInstallationMediaPath() != null && other.getEngineInstallationMediaPath().equals(this.getEngineInstallationMediaPath()) == false) return false; if (other.getOSInstallationMediaPath() == null ^ this.getOSInstallationMediaPath() == null) return false; if (other.getOSInstallationMediaPath() != null && other.getOSInstallationMediaPath().equals(this.getOSInstallationMediaPath()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCustomAvailabilityZoneId() == null) ? 0 : getCustomAvailabilityZoneId().hashCode()); hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode()); hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getEngineInstallationMediaPath() == null) ? 0 : getEngineInstallationMediaPath().hashCode()); hashCode = prime * hashCode + ((getOSInstallationMediaPath() == null) ? 0 : getOSInstallationMediaPath().hashCode()); return hashCode; } @Override public ImportInstallationMediaRequest clone() { return (ImportInstallationMediaRequest) super.clone(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy