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

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

Go to download

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

There is a newer version: 1.12.780
Show 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.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 CreateCustomDBEngineVersionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The database engine. RDS Custom for Oracle supports the following values: *

*
    *
  • *

    * custom-oracle-ee *

    *
  • *
  • *

    * custom-oracle-ee-cdb *

    *
  • *
  • *

    * custom-oracle-se2 *

    *
  • *
  • *

    * custom-oracle-se2-cdb *

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

* The name of your CEV. The name format is 19.customized_string. For example, a valid CEV name is * 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The * combination of Engine and EngineVersion is unique per customer per Region. *

*/ private String engineVersion; /** *

* The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid * bucket name is my-custom-installation-files. *

*/ private String databaseInstallationFilesS3BucketName; /** *

* The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket * name is 123456789012/cev1. If this setting isn't specified, no prefix is assumed. *

*/ private String databaseInstallationFilesS3Prefix; /** *

* The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. * For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was * used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation. *

*/ private String imageId; /** *

* The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for * RDS Custom, but optional for Amazon RDS. *

*

* If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further * action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the * instructions in Creating a * symmetric encryption KMS key in the Amazon Web Services Key Management Service Developer Guide. *

*

* You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different * keys. *

*/ private String kMSKeyId; /** *

* An optional description of your CEV. *

*/ private String description; /** *

* The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. * Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which * they are listed. *

*

* The following JSON fields are valid: *

*
*
MediaImportTemplateVersion
*
*

* Version of the CEV manifest. The date is in the format YYYY-MM-DD. *

*
*
databaseInstallationFileNames
*
*

* Ordered list of installation files for the CEV. *

*
*
opatchFileNames
*
*

* Ordered list of OPatch installers used for the Oracle DB engine. *

*
*
psuRuPatchFileNames
*
*

* The PSU and RU patches for this CEV. *

*
*
OtherPatchFileNames
*
*

* The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the * PSU and RU patches. *

*
*
*

* For more information, see * Creating the CEV manifest in the Amazon RDS User Guide. *

*/ private String manifest; private com.amazonaws.internal.SdkInternalList tags; /** *

* The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine * (AMI) by using either Source or UseAwsProvidedLatestImage. You can't specify a * different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier. *

*/ private String sourceCustomDbEngineVersionIdentifier; /** *

* Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify * UseAwsProvidedLatestImage, you can't also specify ImageId. *

*/ private Boolean useAwsProvidedLatestImage; /** *

* The database engine. RDS Custom for Oracle supports the following values: *

*
    *
  • *

    * custom-oracle-ee *

    *
  • *
  • *

    * custom-oracle-ee-cdb *

    *
  • *
  • *

    * custom-oracle-se2 *

    *
  • *
  • *

    * custom-oracle-se2-cdb *

    *
  • *
* * @param engine * The database engine. RDS Custom for Oracle supports the following values:

*
    *
  • *

    * custom-oracle-ee *

    *
  • *
  • *

    * custom-oracle-ee-cdb *

    *
  • *
  • *

    * custom-oracle-se2 *

    *
  • *
  • *

    * custom-oracle-se2-cdb *

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

    * The database engine. RDS Custom for Oracle supports the following values: *

    *
      *
    • *

      * custom-oracle-ee *

      *
    • *
    • *

      * custom-oracle-ee-cdb *

      *
    • *
    • *

      * custom-oracle-se2 *

      *
    • *
    • *

      * custom-oracle-se2-cdb *

      *
    • *
    * * @return The database engine. RDS Custom for Oracle supports the following values:

    *
      *
    • *

      * custom-oracle-ee *

      *
    • *
    • *

      * custom-oracle-ee-cdb *

      *
    • *
    • *

      * custom-oracle-se2 *

      *
    • *
    • *

      * custom-oracle-se2-cdb *

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

      * The database engine. RDS Custom for Oracle supports the following values: *

      *
        *
      • *

        * custom-oracle-ee *

        *
      • *
      • *

        * custom-oracle-ee-cdb *

        *
      • *
      • *

        * custom-oracle-se2 *

        *
      • *
      • *

        * custom-oracle-se2-cdb *

        *
      • *
      * * @param engine * The database engine. RDS Custom for Oracle supports the following values:

      *
        *
      • *

        * custom-oracle-ee *

        *
      • *
      • *

        * custom-oracle-ee-cdb *

        *
      • *
      • *

        * custom-oracle-se2 *

        *
      • *
      • *

        * custom-oracle-se2-cdb *

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

        * The name of your CEV. The name format is 19.customized_string. For example, a valid CEV name is * 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The * combination of Engine and EngineVersion is unique per customer per Region. *

        * * @param engineVersion * The name of your CEV. The name format is 19.customized_string. For example, a valid CEV name is * 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. * The combination of Engine and EngineVersion is unique per customer per Region. */ public void setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; } /** *

        * The name of your CEV. The name format is 19.customized_string. For example, a valid CEV name is * 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The * combination of Engine and EngineVersion is unique per customer per Region. *

        * * @return The name of your CEV. The name format is 19.customized_string. For example, a valid CEV name is * 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. * The combination of Engine and EngineVersion is unique per customer per Region. */ public String getEngineVersion() { return this.engineVersion; } /** *

        * The name of your CEV. The name format is 19.customized_string. For example, a valid CEV name is * 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The * combination of Engine and EngineVersion is unique per customer per Region. *

        * * @param engineVersion * The name of your CEV. The name format is 19.customized_string. For example, a valid CEV name is * 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. * The combination of Engine and EngineVersion is unique per customer per Region. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withEngineVersion(String engineVersion) { setEngineVersion(engineVersion); return this; } /** *

        * The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid * bucket name is my-custom-installation-files. *

        * * @param databaseInstallationFilesS3BucketName * The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a * valid bucket name is my-custom-installation-files. */ public void setDatabaseInstallationFilesS3BucketName(String databaseInstallationFilesS3BucketName) { this.databaseInstallationFilesS3BucketName = databaseInstallationFilesS3BucketName; } /** *

        * The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid * bucket name is my-custom-installation-files. *

        * * @return The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a * valid bucket name is my-custom-installation-files. */ public String getDatabaseInstallationFilesS3BucketName() { return this.databaseInstallationFilesS3BucketName; } /** *

        * The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid * bucket name is my-custom-installation-files. *

        * * @param databaseInstallationFilesS3BucketName * The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a * valid bucket name is my-custom-installation-files. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withDatabaseInstallationFilesS3BucketName(String databaseInstallationFilesS3BucketName) { setDatabaseInstallationFilesS3BucketName(databaseInstallationFilesS3BucketName); return this; } /** *

        * The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket * name is 123456789012/cev1. If this setting isn't specified, no prefix is assumed. *

        * * @param databaseInstallationFilesS3Prefix * The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid * bucket name is 123456789012/cev1. If this setting isn't specified, no prefix is assumed. */ public void setDatabaseInstallationFilesS3Prefix(String databaseInstallationFilesS3Prefix) { this.databaseInstallationFilesS3Prefix = databaseInstallationFilesS3Prefix; } /** *

        * The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket * name is 123456789012/cev1. If this setting isn't specified, no prefix is assumed. *

        * * @return The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid * bucket name is 123456789012/cev1. If this setting isn't specified, no prefix is assumed. */ public String getDatabaseInstallationFilesS3Prefix() { return this.databaseInstallationFilesS3Prefix; } /** *

        * The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket * name is 123456789012/cev1. If this setting isn't specified, no prefix is assumed. *

        * * @param databaseInstallationFilesS3Prefix * The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid * bucket name is 123456789012/cev1. If this setting isn't specified, no prefix is assumed. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withDatabaseInstallationFilesS3Prefix(String databaseInstallationFilesS3Prefix) { setDatabaseInstallationFilesS3Prefix(databaseInstallationFilesS3Prefix); return this; } /** *

        * The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. * For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was * used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation. *

        * * @param imageId * The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a * CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI * ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation. */ public void setImageId(String imageId) { this.imageId = imageId; } /** *

        * The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. * For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was * used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation. *

        * * @return The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create * a CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an * AMI ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation. */ public String getImageId() { return this.imageId; } /** *

        * The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. * For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was * used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation. *

        * * @param imageId * The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a * CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI * ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withImageId(String imageId) { setImageId(imageId); return this; } /** *

        * The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for * RDS Custom, but optional for Amazon RDS. *

        *

        * If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further * action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the * instructions in Creating a * symmetric encryption KMS key in the Amazon Web Services Key Management Service Developer Guide. *

        *

        * You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different * keys. *

        * * @param kMSKeyId * The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is * required for RDS Custom, but optional for Amazon RDS.

        *

        * If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No * further action is necessary. If you don't already have a symmetric encryption KMS key in your account, * follow the instructions in * Creating a symmetric encryption KMS key in the Amazon Web Services Key Management Service Developer * Guide. *

        *

        * You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose * different keys. */ public void setKMSKeyId(String kMSKeyId) { this.kMSKeyId = kMSKeyId; } /** *

        * The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for * RDS Custom, but optional for Amazon RDS. *

        *

        * If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further * action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the * instructions in Creating a * symmetric encryption KMS key in the Amazon Web Services Key Management Service Developer Guide. *

        *

        * You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different * keys. *

        * * @return The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is * required for RDS Custom, but optional for Amazon RDS.

        *

        * If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No * further action is necessary. If you don't already have a symmetric encryption KMS key in your account, * follow the instructions in * Creating a symmetric encryption KMS key in the Amazon Web Services Key Management Service * Developer Guide. *

        *

        * You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose * different keys. */ public String getKMSKeyId() { return this.kMSKeyId; } /** *

        * The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for * RDS Custom, but optional for Amazon RDS. *

        *

        * If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further * action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the * instructions in Creating a * symmetric encryption KMS key in the Amazon Web Services Key Management Service Developer Guide. *

        *

        * You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different * keys. *

        * * @param kMSKeyId * The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is * required for RDS Custom, but optional for Amazon RDS.

        *

        * If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No * further action is necessary. If you don't already have a symmetric encryption KMS key in your account, * follow the instructions in * Creating a symmetric encryption KMS key in the Amazon Web Services Key Management Service Developer * Guide. *

        *

        * You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose * different keys. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withKMSKeyId(String kMSKeyId) { setKMSKeyId(kMSKeyId); return this; } /** *

        * An optional description of your CEV. *

        * * @param description * An optional description of your CEV. */ public void setDescription(String description) { this.description = description; } /** *

        * An optional description of your CEV. *

        * * @return An optional description of your CEV. */ public String getDescription() { return this.description; } /** *

        * An optional description of your CEV. *

        * * @param description * An optional description of your CEV. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withDescription(String description) { setDescription(description); return this; } /** *

        * The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. * Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which * they are listed. *

        *

        * The following JSON fields are valid: *

        *
        *
        MediaImportTemplateVersion
        *
        *

        * Version of the CEV manifest. The date is in the format YYYY-MM-DD. *

        *
        *
        databaseInstallationFileNames
        *
        *

        * Ordered list of installation files for the CEV. *

        *
        *
        opatchFileNames
        *
        *

        * Ordered list of OPatch installers used for the Oracle DB engine. *

        *
        *
        psuRuPatchFileNames
        *
        *

        * The PSU and RU patches for this CEV. *

        *
        *
        OtherPatchFileNames
        *
        *

        * The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the * PSU and RU patches. *

        *
        *
        *

        * For more information, see * Creating the CEV manifest in the Amazon RDS User Guide. *

        * * @param manifest * The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. * Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in * which they are listed.

        *

        * The following JSON fields are valid: *

        *
        *
        MediaImportTemplateVersion
        *
        *

        * Version of the CEV manifest. The date is in the format YYYY-MM-DD. *

        *
        *
        databaseInstallationFileNames
        *
        *

        * Ordered list of installation files for the CEV. *

        *
        *
        opatchFileNames
        *
        *

        * Ordered list of OPatch installers used for the Oracle DB engine. *

        *
        *
        psuRuPatchFileNames
        *
        *

        * The PSU and RU patches for this CEV. *

        *
        *
        OtherPatchFileNames
        *
        *

        * The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after * applying the PSU and RU patches. *

        *
        *
        *

        * For more information, see * Creating the CEV manifest in the Amazon RDS User Guide. */ public void setManifest(String manifest) { this.manifest = manifest; } /** *

        * The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. * Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which * they are listed. *

        *

        * The following JSON fields are valid: *

        *
        *
        MediaImportTemplateVersion
        *
        *

        * Version of the CEV manifest. The date is in the format YYYY-MM-DD. *

        *
        *
        databaseInstallationFileNames
        *
        *

        * Ordered list of installation files for the CEV. *

        *
        *
        opatchFileNames
        *
        *

        * Ordered list of OPatch installers used for the Oracle DB engine. *

        *
        *
        psuRuPatchFileNames
        *
        *

        * The PSU and RU patches for this CEV. *

        *
        *
        OtherPatchFileNames
        *
        *

        * The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the * PSU and RU patches. *

        *
        *
        *

        * For more information, see * Creating the CEV manifest in the Amazon RDS User Guide. *

        * * @return The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon * S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the * order in which they are listed.

        *

        * The following JSON fields are valid: *

        *
        *
        MediaImportTemplateVersion
        *
        *

        * Version of the CEV manifest. The date is in the format YYYY-MM-DD. *

        *
        *
        databaseInstallationFileNames
        *
        *

        * Ordered list of installation files for the CEV. *

        *
        *
        opatchFileNames
        *
        *

        * Ordered list of OPatch installers used for the Oracle DB engine. *

        *
        *
        psuRuPatchFileNames
        *
        *

        * The PSU and RU patches for this CEV. *

        *
        *
        OtherPatchFileNames
        *
        *

        * The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after * applying the PSU and RU patches. *

        *
        *
        *

        * For more information, see * Creating the CEV manifest in the Amazon RDS User Guide. */ public String getManifest() { return this.manifest; } /** *

        * The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. * Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which * they are listed. *

        *

        * The following JSON fields are valid: *

        *
        *
        MediaImportTemplateVersion
        *
        *

        * Version of the CEV manifest. The date is in the format YYYY-MM-DD. *

        *
        *
        databaseInstallationFileNames
        *
        *

        * Ordered list of installation files for the CEV. *

        *
        *
        opatchFileNames
        *
        *

        * Ordered list of OPatch installers used for the Oracle DB engine. *

        *
        *
        psuRuPatchFileNames
        *
        *

        * The PSU and RU patches for this CEV. *

        *
        *
        OtherPatchFileNames
        *
        *

        * The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the * PSU and RU patches. *

        *
        *
        *

        * For more information, see * Creating the CEV manifest in the Amazon RDS User Guide. *

        * * @param manifest * The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. * Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in * which they are listed.

        *

        * The following JSON fields are valid: *

        *
        *
        MediaImportTemplateVersion
        *
        *

        * Version of the CEV manifest. The date is in the format YYYY-MM-DD. *

        *
        *
        databaseInstallationFileNames
        *
        *

        * Ordered list of installation files for the CEV. *

        *
        *
        opatchFileNames
        *
        *

        * Ordered list of OPatch installers used for the Oracle DB engine. *

        *
        *
        psuRuPatchFileNames
        *
        *

        * The PSU and RU patches for this CEV. *

        *
        *
        OtherPatchFileNames
        *
        *

        * The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after * applying the PSU and RU patches. *

        *
        *
        *

        * For more information, see * Creating the CEV manifest in the Amazon RDS User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withManifest(String manifest) { setManifest(manifest); return this; } /** * @return */ public java.util.List getTags() { if (tags == null) { tags = new com.amazonaws.internal.SdkInternalList(); } return tags; } /** * @param tags */ public void setTags(java.util.Collection tags) { if (tags == null) { this.tags = null; return; } this.tags = new com.amazonaws.internal.SdkInternalList(tags); } /** *

        * NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *

        * * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; } /** * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withTags(java.util.Collection tags) { setTags(tags); return this; } /** *

        * The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine * (AMI) by using either Source or UseAwsProvidedLatestImage. You can't specify a * different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier. *

        * * @param sourceCustomDbEngineVersionIdentifier * The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine * Imagine (AMI) by using either Source or UseAwsProvidedLatestImage. You can't * specify a different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier. */ public void setSourceCustomDbEngineVersionIdentifier(String sourceCustomDbEngineVersionIdentifier) { this.sourceCustomDbEngineVersionIdentifier = sourceCustomDbEngineVersionIdentifier; } /** *

        * The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine * (AMI) by using either Source or UseAwsProvidedLatestImage. You can't specify a * different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier. *

        * * @return The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine * Imagine (AMI) by using either Source or UseAwsProvidedLatestImage. You can't * specify a different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier. */ public String getSourceCustomDbEngineVersionIdentifier() { return this.sourceCustomDbEngineVersionIdentifier; } /** *

        * The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine Imagine * (AMI) by using either Source or UseAwsProvidedLatestImage. You can't specify a * different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier. *

        * * @param sourceCustomDbEngineVersionIdentifier * The ARN of a CEV to use as a source for creating a new CEV. You can specify a different Amazon Machine * Imagine (AMI) by using either Source or UseAwsProvidedLatestImage. You can't * specify a different JSON manifest when you specify SourceCustomDbEngineVersionIdentifier. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withSourceCustomDbEngineVersionIdentifier(String sourceCustomDbEngineVersionIdentifier) { setSourceCustomDbEngineVersionIdentifier(sourceCustomDbEngineVersionIdentifier); return this; } /** *

        * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify * UseAwsProvidedLatestImage, you can't also specify ImageId. *

        * * @param useAwsProvidedLatestImage * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you * specify UseAwsProvidedLatestImage, you can't also specify ImageId. */ public void setUseAwsProvidedLatestImage(Boolean useAwsProvidedLatestImage) { this.useAwsProvidedLatestImage = useAwsProvidedLatestImage; } /** *

        * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify * UseAwsProvidedLatestImage, you can't also specify ImageId. *

        * * @return Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you * specify UseAwsProvidedLatestImage, you can't also specify ImageId. */ public Boolean getUseAwsProvidedLatestImage() { return this.useAwsProvidedLatestImage; } /** *

        * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify * UseAwsProvidedLatestImage, you can't also specify ImageId. *

        * * @param useAwsProvidedLatestImage * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you * specify UseAwsProvidedLatestImage, you can't also specify ImageId. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomDBEngineVersionRequest withUseAwsProvidedLatestImage(Boolean useAwsProvidedLatestImage) { setUseAwsProvidedLatestImage(useAwsProvidedLatestImage); return this; } /** *

        * Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify * UseAwsProvidedLatestImage, you can't also specify ImageId. *

        * * @return Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you * specify UseAwsProvidedLatestImage, you can't also specify ImageId. */ public Boolean isUseAwsProvidedLatestImage() { return this.useAwsProvidedLatestImage; } /** * 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 (getEngine() != null) sb.append("Engine: ").append(getEngine()).append(","); if (getEngineVersion() != null) sb.append("EngineVersion: ").append(getEngineVersion()).append(","); if (getDatabaseInstallationFilesS3BucketName() != null) sb.append("DatabaseInstallationFilesS3BucketName: ").append(getDatabaseInstallationFilesS3BucketName()).append(","); if (getDatabaseInstallationFilesS3Prefix() != null) sb.append("DatabaseInstallationFilesS3Prefix: ").append(getDatabaseInstallationFilesS3Prefix()).append(","); if (getImageId() != null) sb.append("ImageId: ").append(getImageId()).append(","); if (getKMSKeyId() != null) sb.append("KMSKeyId: ").append(getKMSKeyId()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getManifest() != null) sb.append("Manifest: ").append(getManifest()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getSourceCustomDbEngineVersionIdentifier() != null) sb.append("SourceCustomDbEngineVersionIdentifier: ").append(getSourceCustomDbEngineVersionIdentifier()).append(","); if (getUseAwsProvidedLatestImage() != null) sb.append("UseAwsProvidedLatestImage: ").append(getUseAwsProvidedLatestImage()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateCustomDBEngineVersionRequest == false) return false; CreateCustomDBEngineVersionRequest other = (CreateCustomDBEngineVersionRequest) obj; 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.getDatabaseInstallationFilesS3BucketName() == null ^ this.getDatabaseInstallationFilesS3BucketName() == null) return false; if (other.getDatabaseInstallationFilesS3BucketName() != null && other.getDatabaseInstallationFilesS3BucketName().equals(this.getDatabaseInstallationFilesS3BucketName()) == false) return false; if (other.getDatabaseInstallationFilesS3Prefix() == null ^ this.getDatabaseInstallationFilesS3Prefix() == null) return false; if (other.getDatabaseInstallationFilesS3Prefix() != null && other.getDatabaseInstallationFilesS3Prefix().equals(this.getDatabaseInstallationFilesS3Prefix()) == false) return false; if (other.getImageId() == null ^ this.getImageId() == null) return false; if (other.getImageId() != null && other.getImageId().equals(this.getImageId()) == false) return false; if (other.getKMSKeyId() == null ^ this.getKMSKeyId() == null) return false; if (other.getKMSKeyId() != null && other.getKMSKeyId().equals(this.getKMSKeyId()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getManifest() == null ^ this.getManifest() == null) return false; if (other.getManifest() != null && other.getManifest().equals(this.getManifest()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getSourceCustomDbEngineVersionIdentifier() == null ^ this.getSourceCustomDbEngineVersionIdentifier() == null) return false; if (other.getSourceCustomDbEngineVersionIdentifier() != null && other.getSourceCustomDbEngineVersionIdentifier().equals(this.getSourceCustomDbEngineVersionIdentifier()) == false) return false; if (other.getUseAwsProvidedLatestImage() == null ^ this.getUseAwsProvidedLatestImage() == null) return false; if (other.getUseAwsProvidedLatestImage() != null && other.getUseAwsProvidedLatestImage().equals(this.getUseAwsProvidedLatestImage()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getEngine() == null) ? 0 : getEngine().hashCode()); hashCode = prime * hashCode + ((getEngineVersion() == null) ? 0 : getEngineVersion().hashCode()); hashCode = prime * hashCode + ((getDatabaseInstallationFilesS3BucketName() == null) ? 0 : getDatabaseInstallationFilesS3BucketName().hashCode()); hashCode = prime * hashCode + ((getDatabaseInstallationFilesS3Prefix() == null) ? 0 : getDatabaseInstallationFilesS3Prefix().hashCode()); hashCode = prime * hashCode + ((getImageId() == null) ? 0 : getImageId().hashCode()); hashCode = prime * hashCode + ((getKMSKeyId() == null) ? 0 : getKMSKeyId().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getManifest() == null) ? 0 : getManifest().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getSourceCustomDbEngineVersionIdentifier() == null) ? 0 : getSourceCustomDbEngineVersionIdentifier().hashCode()); hashCode = prime * hashCode + ((getUseAwsProvidedLatestImage() == null) ? 0 : getUseAwsProvidedLatestImage().hashCode()); return hashCode; } @Override public CreateCustomDBEngineVersionRequest clone() { return (CreateCustomDBEngineVersionRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy