Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010 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 Parameter {

    
Specifies the name of the parameter.
 
     private String parameterName;

    
Specifies the value of the parameter.
 
     private String parameterValue;

    
Provides a description of the parameter.
 
     private String description;

    
Indicates the source of the parameter value.
 
     private String source;

    
Specifies the engine specific parameters type.
 
     private String applyType;

    
Specifies the valid data type for the parameter.
 
     private String dataType;

    
Specifies the valid range of values for the parameter.
 
     private String allowedValues;

    
Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
 
     private Boolean isModifiable;

    
The earliest engine version to which the parameter can apply.
 
     private String minimumEngineVersion;

    
Indicates when to apply parameter updates.

Constraints:
Allowed Values: immediate, pending-reboot

 
     private String applyMethod;

    
Default constructor for a new Parameter object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.
 
     public Parameter() {}
    
    
Specifies the name of the parameter.

Returns:
Specifies the name of the parameter.
 
     public String getParameterName() {
         return ;
     }
    
    
Specifies the name of the parameter.

Parameters:
parameterName Specifies the name of the parameter.
 
     public void setParameterName(String parameterName) {
        this. = parameterName;
    }
    
    
Specifies the name of the parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parameterName Specifies the name of the parameter.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withParameterName(String parameterName) {
        this. = parameterName;
        return this;
    }
    
    
    
Specifies the value of the parameter.

Returns:
Specifies the value of the parameter.
    public String getParameterValue() {
        return ;
    }
    
    
Specifies the value of the parameter.

Parameters:
parameterValue Specifies the value of the parameter.
    public void setParameterValue(String parameterValue) {
        this. = parameterValue;
    }
    
    
Specifies the value of the parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parameterValue Specifies the value of the parameter.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withParameterValue(String parameterValue) {
        this. = parameterValue;
        return this;
    }
    
    
    
Provides a description of the parameter.

Returns:
Provides a description of the parameter.
    public String getDescription() {
        return ;
    }
    
    
Provides a description of the parameter.

Parameters:
description Provides a description of the parameter.
    public void setDescription(String description) {
        this. = description;
    }
    
    
Provides a description of the parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description Provides a description of the parameter.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withDescription(String description) {
        this. = description;
        return this;
    }
    
    
    
Indicates the source of the parameter value.

Returns:
Indicates the source of the parameter value.
    public String getSource() {
        return ;
    }
    
    
Indicates the source of the parameter value.

Parameters:
source Indicates the source of the parameter value.
    public void setSource(String source) {
        this. = source;
    }
    
    
Indicates the source of the parameter value.

Returns a reference to this object so that method calls can be chained together.

Parameters:
source Indicates the source of the parameter value.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withSource(String source) {
        this. = source;
        return this;
    }
    
    
    
Specifies the engine specific parameters type.

Returns:
Specifies the engine specific parameters type.
    public String getApplyType() {
        return ;
    }
    
    
Specifies the engine specific parameters type.

Parameters:
applyType Specifies the engine specific parameters type.
    public void setApplyType(String applyType) {
        this. = applyType;
    }
    
    
Specifies the engine specific parameters type.

Returns a reference to this object so that method calls can be chained together.

Parameters:
applyType Specifies the engine specific parameters type.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withApplyType(String applyType) {
        this. = applyType;
        return this;
    }
    
    
    
Specifies the valid data type for the parameter.

Returns:
Specifies the valid data type for the parameter.
    public String getDataType() {
        return ;
    }
    
    
Specifies the valid data type for the parameter.

Parameters:
dataType Specifies the valid data type for the parameter.
    public void setDataType(String dataType) {
        this. = dataType;
    }
    
    
Specifies the valid data type for the parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dataType Specifies the valid data type for the parameter.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withDataType(String dataType) {
        this. = dataType;
        return this;
    }
    
    
    
Specifies the valid range of values for the parameter.

Returns:
Specifies the valid range of values for the parameter.
    public String getAllowedValues() {
        return ;
    }
    
    
Specifies the valid range of values for the parameter.

Parameters:
allowedValues Specifies the valid range of values for the parameter.
    public void setAllowedValues(String allowedValues) {
        this. = allowedValues;
    }
    
    
Specifies the valid range of values for the parameter.

Returns a reference to this object so that method calls can be chained together.

Parameters:
allowedValues Specifies the valid range of values for the parameter.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withAllowedValues(String allowedValues) {
        this. = allowedValues;
        return this;
    }
    
    
    
Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

Returns:
Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
    public Boolean isModifiable() {
        return ;
    }
    
    
Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

Parameters:
isModifiable Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
    public void setIsModifiable(Boolean isModifiable) {
        this. = isModifiable;
    }
    
    
Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

Returns a reference to this object so that method calls can be chained together.

Parameters:
isModifiable Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withIsModifiable(Boolean isModifiable) {
        this. = isModifiable;
        return this;
    }
    
    
    
Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

Returns:
Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
    public Boolean getIsModifiable() {
        return ;
    }
    
    
The earliest engine version to which the parameter can apply.

Returns:
The earliest engine version to which the parameter can apply.
    public String getMinimumEngineVersion() {
        return ;
    }
    
    
The earliest engine version to which the parameter can apply.

Parameters:
minimumEngineVersion The earliest engine version to which the parameter can apply.
    public void setMinimumEngineVersion(String minimumEngineVersion) {
        this. = minimumEngineVersion;
    }
    
    
The earliest engine version to which the parameter can apply.

Returns a reference to this object so that method calls can be chained together.

Parameters:
minimumEngineVersion The earliest engine version to which the parameter can apply.
Returns:
A reference to this updated object so that method calls can be chained together.
    public Parameter withMinimumEngineVersion(String minimumEngineVersion) {
        this. = minimumEngineVersion;
        return this;
    }
    
    
    
Indicates when to apply parameter updates.

Constraints:
Allowed Values: immediate, pending-reboot

Returns:
Indicates when to apply parameter updates.
See also:
ApplyMethod
    public String getApplyMethod() {
        return ;
    }
    
    
Indicates when to apply parameter updates.

Constraints:
Allowed Values: immediate, pending-reboot

Parameters:
applyMethod Indicates when to apply parameter updates.
See also:
ApplyMethod
    public void setApplyMethod(String applyMethod) {
        this. = applyMethod;
    }
    
    
Indicates when to apply parameter updates.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: immediate, pending-reboot

Parameters:
applyMethod Indicates when to apply parameter updates.
Returns:
A reference to this updated object so that method calls can be chained together.
See also:
ApplyMethod
    public Parameter withApplyMethod(String applyMethod) {
        this. = applyMethod;
        return this;
    }
    
    
    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        sb.append("ParameterName: " +  + ", ");
        sb.append("ParameterValue: " +  + ", ");
        sb.append("Description: " +  + ", ");
        sb.append("Source: " +  + ", ");
        sb.append("ApplyType: " +  + ", ");
        sb.append("DataType: " +  + ", ");
        sb.append("AllowedValues: " +  + ", ");
        sb.append("IsModifiable: " +  + ", ");
        sb.append("MinimumEngineVersion: " +  + ", ");
        sb.append("ApplyMethod: " +  + ", ");
        sb.append("}");
        return sb.toString();
    }
    
}
    
New to GrepCode? Check out our FAQ X