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

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

/*
 * Copyright 2010-2011 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;

/**
 * D B Engine Version
 */
public class DBEngineVersion {

    /**
     * The name of the database engine.
     */
    private String engine;

    /**
     * The version number of the database engine.
     */
    private String engineVersion;

    /**
     * The name of the DBParameterGroupFamily for the database engine.
     */
    private String dBParameterGroupFamily;

    /**
     * Default constructor for a new DBEngineVersion object.  Callers should use the
     * setter or fluent setter (with...) methods to initialize this object after creating it.
     */
    public DBEngineVersion() {}
    
    /**
     * The name of the database engine.
     *
     * @return The name of the database engine.
     */
    public String getEngine() {
        return engine;
    }
    
    /**
     * The name of the database engine.
     *
     * @param engine The name of the database engine.
     */
    public void setEngine(String engine) {
        this.engine = engine;
    }
    
    /**
     * The name of the database engine.
     * 

* Returns a reference to this object so that method calls can be chained together. * * @param engine The name of the database engine. * * @return A reference to this updated object so that method calls can be chained * together. */ public DBEngineVersion withEngine(String engine) { this.engine = engine; return this; } /** * The version number of the database engine. * * @return The version number of the database engine. */ public String getEngineVersion() { return engineVersion; } /** * The version number of the database engine. * * @param engineVersion The version number of the database engine. */ public void setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; } /** * The version number of the database engine. *

* Returns a reference to this object so that method calls can be chained together. * * @param engineVersion The version number of the database engine. * * @return A reference to this updated object so that method calls can be chained * together. */ public DBEngineVersion withEngineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * The name of the DBParameterGroupFamily for the database engine. * * @return The name of the DBParameterGroupFamily for the database engine. */ public String getDBParameterGroupFamily() { return dBParameterGroupFamily; } /** * The name of the DBParameterGroupFamily for the database engine. * * @param dBParameterGroupFamily The name of the DBParameterGroupFamily for the database engine. */ public void setDBParameterGroupFamily(String dBParameterGroupFamily) { this.dBParameterGroupFamily = dBParameterGroupFamily; } /** * The name of the DBParameterGroupFamily for the database engine. *

* Returns a reference to this object so that method calls can be chained together. * * @param dBParameterGroupFamily The name of the DBParameterGroupFamily for the database engine. * * @return A reference to this updated object so that method calls can be chained * together. */ public DBEngineVersion withDBParameterGroupFamily(String dBParameterGroupFamily) { this.dBParameterGroupFamily = dBParameterGroupFamily; return this; } /** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); sb.append("Engine: " + engine + ", "); sb.append("EngineVersion: " + engineVersion + ", "); sb.append("DBParameterGroupFamily: " + dBParameterGroupFamily + ", "); sb.append("}"); return sb.toString(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy