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

com.amazonaws.services.rds.model.EngineDefaults 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;

/**
 * 

* *

*/ public class EngineDefaults { /** * Specifies the name of the DB Parameter Group Family which the engine * default parameters apply to. */ private String dBParameterGroupFamily; /** * Provides an identifier to allow retrieval of paginated results. */ private String marker; /** * Contains a list of engine default parameters. */ private java.util.List parameters; /** * Specifies the name of the DB Parameter Group Family which the engine * default parameters apply to. * * @return Specifies the name of the DB Parameter Group Family which the engine * default parameters apply to. */ public String getDBParameterGroupFamily() { return dBParameterGroupFamily; } /** * Specifies the name of the DB Parameter Group Family which the engine * default parameters apply to. * * @param dBParameterGroupFamily Specifies the name of the DB Parameter Group Family which the engine * default parameters apply to. */ public void setDBParameterGroupFamily(String dBParameterGroupFamily) { this.dBParameterGroupFamily = dBParameterGroupFamily; } /** * Specifies the name of the DB Parameter Group Family which the engine * default parameters apply to. *

* Returns a reference to this object so that method calls can be chained together. * * @param dBParameterGroupFamily Specifies the name of the DB Parameter Group Family which the engine * default parameters apply to. * * @return A reference to this updated object so that method calls can be chained * together. */ public EngineDefaults withDBParameterGroupFamily(String dBParameterGroupFamily) { this.dBParameterGroupFamily = dBParameterGroupFamily; return this; } /** * Provides an identifier to allow retrieval of paginated results. * * @return Provides an identifier to allow retrieval of paginated results. */ public String getMarker() { return marker; } /** * Provides an identifier to allow retrieval of paginated results. * * @param marker Provides an identifier to allow retrieval of paginated results. */ public void setMarker(String marker) { this.marker = marker; } /** * Provides an identifier to allow retrieval of paginated results. *

* Returns a reference to this object so that method calls can be chained together. * * @param marker Provides an identifier to allow retrieval of paginated results. * * @return A reference to this updated object so that method calls can be chained * together. */ public EngineDefaults withMarker(String marker) { this.marker = marker; return this; } /** * Contains a list of engine default parameters. * * @return Contains a list of engine default parameters. */ public java.util.List getParameters() { if (parameters == null) { parameters = new java.util.ArrayList(); } return parameters; } /** * Contains a list of engine default parameters. * * @param parameters Contains a list of engine default parameters. */ public void setParameters(java.util.Collection parameters) { java.util.List parametersCopy = new java.util.ArrayList(); if (parameters != null) { parametersCopy.addAll(parameters); } this.parameters = parametersCopy; } /** * Contains a list of engine default parameters. *

* Returns a reference to this object so that method calls can be chained together. * * @param parameters Contains a list of engine default parameters. * * @return A reference to this updated object so that method calls can be chained * together. */ public EngineDefaults withParameters(Parameter... parameters) { for (Parameter value : parameters) { getParameters().add(value); } return this; } /** * Contains a list of engine default parameters. *

* Returns a reference to this object so that method calls can be chained together. * * @param parameters Contains a list of engine default parameters. * * @return A reference to this updated object so that method calls can be chained * together. */ public EngineDefaults withParameters(java.util.Collection parameters) { java.util.List parametersCopy = new java.util.ArrayList(); if (parameters != null) { parametersCopy.addAll(parameters); } this.parameters = parametersCopy; 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("DBParameterGroupFamily: " + dBParameterGroupFamily + ", "); sb.append("Marker: " + marker + ", "); sb.append("Parameters: " + parameters + ", "); sb.append("}"); return sb.toString(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy