Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 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.elasticbeanstalk.model;
  

Describes the possible values for a configuration option.

  
  public class ConfigurationOptionDescription implements SerializableCloneable {

    
A unique namespace identifying the option's associated AWS resource.
  
      private String namespace;

    
The name of the configuration option.
  
      private String name;

    
The default value for this configuration option.
  
      private String defaultValue;

    
An indication of which action is required if the value for this configuration option changes: <enumValues> <value name="NoInterruption">

NoInterruption - There is no interruption to the environment or application availability. </value> <value name="RestartEnvironment">

RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. </value> <value name="RestartApplicationServer">

RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. </value> </enumValues>

  • NoInterruption : There is no interruption to the environment or application availability.
  • RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
  • RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
  
      private String changeSeverity;

    
An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

  
      private Boolean userDefined;

    
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .

Constraints:
Allowed Values: Scalar, List

 
     private String valueType;

    
If specified, values for the configuration option are selected from this list.
 
If specified, the configuration option must be a numeric value greater than this value.
 
     private Integer minValue;

    
If specified, the configuration option must be a numeric value less than this value.
 
     private Integer maxValue;

    
If specified, the configuration option must be a string value no longer than this value.
 
     private Integer maxLength;

    
If specified, the configuration option must be a string value that satisfies this regular expression.
 
     private OptionRestrictionRegex regex;

    
Default constructor for a new ConfigurationOptionDescription object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.
 
     public ConfigurationOptionDescription() {}
    
    
A unique namespace identifying the option's associated AWS resource.

Returns:
A unique namespace identifying the option's associated AWS resource.
 
     public String getNamespace() {
         return ;
     }
    
    
A unique namespace identifying the option's associated AWS resource.

Parameters:
namespace A unique namespace identifying the option's associated AWS resource.
 
     public void setNamespace(String namespace) {
         this. = namespace;
     }
    
    
A unique namespace identifying the option's associated AWS resource.

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

Parameters:
namespace A unique namespace identifying the option's associated AWS resource.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withNamespace(String namespace) {
         this. = namespace;
         return this;
     }

    
The name of the configuration option.

Returns:
The name of the configuration option.
 
     public String getName() {
         return ;
     }
    
    
The name of the configuration option.

Parameters:
name The name of the configuration option.
 
     public void setName(String name) {
         this. = name;
     }
    
    
The name of the configuration option.

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

Parameters:
name The name of the configuration option.
Returns:
A reference to this updated object so that method calls can be chained together.
 
         this. = name;
         return this;
     }

    
The default value for this configuration option.

Returns:
The default value for this configuration option.
 
     public String getDefaultValue() {
         return ;
     }
    
    
The default value for this configuration option.

Parameters:
defaultValue The default value for this configuration option.
 
     public void setDefaultValue(String defaultValue) {
         this. = defaultValue;
     }
    
    
The default value for this configuration option.

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

Parameters:
defaultValue The default value for this configuration option.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withDefaultValue(String defaultValue) {
         this. = defaultValue;
         return this;
     }

    
An indication of which action is required if the value for this configuration option changes: <enumValues> <value name="NoInterruption">

NoInterruption - There is no interruption to the environment or application availability. </value> <value name="RestartEnvironment">

RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. </value> <value name="RestartApplicationServer">

RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. </value> </enumValues>

  • NoInterruption : There is no interruption to the environment or application availability.
  • RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
  • RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.

Returns:
An indication of which action is required if the value for this configuration option changes: <enumValues> <value name="NoInterruption">

NoInterruption - There is no interruption to the environment or application availability. </value> <value name="RestartEnvironment">

RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. </value> <value name="RestartApplicationServer">

RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. </value> </enumValues>

  • NoInterruption : There is no interruption to the environment or application availability.
  • RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
  • RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
 
     public String getChangeSeverity() {
         return ;
     }
    
    
An indication of which action is required if the value for this configuration option changes: <enumValues> <value name="NoInterruption">

NoInterruption - There is no interruption to the environment or application availability. </value> <value name="RestartEnvironment">

RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. </value> <value name="RestartApplicationServer">

RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. </value> </enumValues>

  • NoInterruption : There is no interruption to the environment or application availability.
  • RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
  • RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.

Parameters:
changeSeverity An indication of which action is required if the value for this configuration option changes: <enumValues> <value name="NoInterruption">

NoInterruption - There is no interruption to the environment or application availability. </value> <value name="RestartEnvironment">

RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. </value> <value name="RestartApplicationServer">

RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. </value> </enumValues>

  • NoInterruption : There is no interruption to the environment or application availability.
  • RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
  • RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
 
     public void setChangeSeverity(String changeSeverity) {
         this. = changeSeverity;
     }
    
    
An indication of which action is required if the value for this configuration option changes: <enumValues> <value name="NoInterruption">

NoInterruption - There is no interruption to the environment or application availability. </value> <value name="RestartEnvironment">

RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. </value> <value name="RestartApplicationServer">

RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. </value> </enumValues>

  • NoInterruption : There is no interruption to the environment or application availability.
  • RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
  • RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.

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

Parameters:
changeSeverity An indication of which action is required if the value for this configuration option changes: <enumValues> <value name="NoInterruption">

NoInterruption - There is no interruption to the environment or application availability. </value> <value name="RestartEnvironment">

RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process. </value> <value name="RestartApplicationServer">

RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted. </value> </enumValues>

  • NoInterruption : There is no interruption to the environment or application availability.
  • RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
  • RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withChangeSeverity(String changeSeverity) {
         this. = changeSeverity;
         return this;
     }

    
An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

Returns:
An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

 
     public Boolean isUserDefined() {
         return ;
     }
    
    
An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

Parameters:
userDefined An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

 
     public void setUserDefined(Boolean userDefined) {
         this. = userDefined;
     }
    
    
An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

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

Parameters:
userDefined An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withUserDefined(Boolean userDefined) {
         this. = userDefined;
         return this;
     }

    
An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

Returns:
An indication of whether the user defined this configuration option: <enumValues> <value name="true">

true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings. </value> <value name="false">

false : This configuration was not defined by the user. </value> </enumValues>

  • true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.

  • false : This configuration was not defined by the user.

Constraint: You can remove only UserDefined options from a configuration.

Valid Values: true | false

 
     public Boolean getUserDefined() {
         return ;
     }

    
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .

Constraints:
Allowed Values: Scalar, List

Returns:
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .
See also:
ConfigurationOptionValueType
 
     public String getValueType() {
         return ;
     }
    
    
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .

Constraints:
Allowed Values: Scalar, List

Parameters:
valueType An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .
See also:
ConfigurationOptionValueType
 
     public void setValueType(String valueType) {
         this. = valueType;
     }
    
    
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .

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

Constraints:
Allowed Values: Scalar, List

Parameters:
valueType An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .
Returns:
A reference to this updated object so that method calls can be chained together.
See also:
ConfigurationOptionValueType
 
     public ConfigurationOptionDescription withValueType(String valueType) {
         this. = valueType;
         return this;
     }

    
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .

Constraints:
Allowed Values: Scalar, List

Parameters:
valueType An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .
See also:
ConfigurationOptionValueType
 
     public void setValueType(ConfigurationOptionValueType valueType) {
         this. = valueType.toString();
     }
    
    
An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .

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

Constraints:
Allowed Values: Scalar, List

Parameters:
valueType An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values: <enumValues> <value name="Scalar">

Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints: </value> <value name="List">

List : Values for this option are multiple selections of the possible values. </value> <value name="Boolean">

Boolean : Values for this option are either true or false . </value> </enumValues>

  • Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
  • List : Values for this option are multiple selections from the possible values.
  • Boolean : Values for this option are either true or false .
Returns:
A reference to this updated object so that method calls can be chained together.
See also:
ConfigurationOptionValueType
 
         this. = valueType.toString();
         return this;
     }

    
If specified, values for the configuration option are selected from this list.

Returns:
If specified, values for the configuration option are selected from this list.
 
     public java.util.List<StringgetValueOptions() {
         if ( == null) {
                = new com.amazonaws.internal.ListWithAutoConstructFlag<String>();
               .setAutoConstruct(true);
         }
         return ;
     }
    
    
If specified, values for the configuration option are selected from this list.

Parameters:
valueOptions If specified, values for the configuration option are selected from this list.
 
     public void setValueOptions(java.util.Collection<StringvalueOptions) {
         if (valueOptions == null) {
             this. = null;
             return;
         }
         com.amazonaws.internal.ListWithAutoConstructFlag<StringvalueOptionsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(valueOptions.size());
         valueOptionsCopy.addAll(valueOptions);
         this. = valueOptionsCopy;
     }
    
    
If specified, values for the configuration option are selected from this list.

NOTE: This method appends the values to the existing list (if any). Use setValueOptions(java.util.Collection) or withValueOptions(java.util.Collection) if you want to override the existing values.

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

Parameters:
valueOptions If specified, values for the configuration option are selected from this list.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withValueOptions(String... valueOptions) {
         if (getValueOptions() == nullsetValueOptions(new java.util.ArrayList<String>(valueOptions.length));
         for (String value : valueOptions) {
             getValueOptions().add(value);
         }
         return this;
     }
    
    
If specified, values for the configuration option are selected from this list.

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

Parameters:
valueOptions If specified, values for the configuration option are selected from this list.
Returns:
A reference to this updated object so that method calls can be chained together.
 
         if (valueOptions == null) {
             this. = null;
         } else {
             com.amazonaws.internal.ListWithAutoConstructFlag<StringvalueOptionsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(valueOptions.size());
             valueOptionsCopy.addAll(valueOptions);
             this. = valueOptionsCopy;
         }
 
         return this;
     }

    
If specified, the configuration option must be a numeric value greater than this value.

Returns:
If specified, the configuration option must be a numeric value greater than this value.
 
     public Integer getMinValue() {
         return ;
     }
    
    
If specified, the configuration option must be a numeric value greater than this value.

Parameters:
minValue If specified, the configuration option must be a numeric value greater than this value.
 
     public void setMinValue(Integer minValue) {
         this. = minValue;
     }
    
    
If specified, the configuration option must be a numeric value greater than this value.

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

Parameters:
minValue If specified, the configuration option must be a numeric value greater than this value.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withMinValue(Integer minValue) {
         this. = minValue;
         return this;
     }

    
If specified, the configuration option must be a numeric value less than this value.

Returns:
If specified, the configuration option must be a numeric value less than this value.
 
     public Integer getMaxValue() {
         return ;
     }
    
    
If specified, the configuration option must be a numeric value less than this value.

Parameters:
maxValue If specified, the configuration option must be a numeric value less than this value.
 
     public void setMaxValue(Integer maxValue) {
         this. = maxValue;
     }
    
    
If specified, the configuration option must be a numeric value less than this value.

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

Parameters:
maxValue If specified, the configuration option must be a numeric value less than this value.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withMaxValue(Integer maxValue) {
         this. = maxValue;
         return this;
     }

    
If specified, the configuration option must be a string value no longer than this value.

Returns:
If specified, the configuration option must be a string value no longer than this value.
 
     public Integer getMaxLength() {
         return ;
     }
    
    
If specified, the configuration option must be a string value no longer than this value.

Parameters:
maxLength If specified, the configuration option must be a string value no longer than this value.
 
     public void setMaxLength(Integer maxLength) {
         this. = maxLength;
     }
    
    
If specified, the configuration option must be a string value no longer than this value.

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

Parameters:
maxLength If specified, the configuration option must be a string value no longer than this value.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public ConfigurationOptionDescription withMaxLength(Integer maxLength) {
         this. = maxLength;
         return this;
     }

    
If specified, the configuration option must be a string value that satisfies this regular expression.

Returns:
If specified, the configuration option must be a string value that satisfies this regular expression.
 
     public OptionRestrictionRegex getRegex() {
         return ;
     }
    
    
If specified, the configuration option must be a string value that satisfies this regular expression.

Parameters:
regex If specified, the configuration option must be a string value that satisfies this regular expression.
 
     public void setRegex(OptionRestrictionRegex regex) {
         this. = regex;
     }
    
    
If specified, the configuration option must be a string value that satisfies this regular expression.

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

Parameters:
regex If specified, the configuration option must be a string value that satisfies this regular expression.
Returns:
A reference to this updated object so that method calls can be chained together.
 
         this. = regex;
         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("{");
        if (getNamespace() != nullsb.append("Namespace: " + getNamespace() + ",");
        if (getName() != nullsb.append("Name: " + getName() + ",");
        if (getDefaultValue() != nullsb.append("DefaultValue: " + getDefaultValue() + ",");
        if (getChangeSeverity() != nullsb.append("ChangeSeverity: " + getChangeSeverity() + ",");
        if (isUserDefined() != nullsb.append("UserDefined: " + isUserDefined() + ",");
        if (getValueType() != nullsb.append("ValueType: " + getValueType() + ",");
        if (getValueOptions() != nullsb.append("ValueOptions: " + getValueOptions() + ",");
        if (getMinValue() != nullsb.append("MinValue: " + getMinValue() + ",");
        if (getMaxValue() != nullsb.append("MaxValue: " + getMaxValue() + ",");
        if (getMaxLength() != nullsb.append("MaxLength: " + getMaxLength() + ",");
        if (getRegex() != nullsb.append("Regex: " + getRegex() );
        sb.append("}");
        return sb.toString();
    }
    
    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;
        
        hashCode = prime * hashCode + ((getNamespace() == null) ? 0 : getNamespace().hashCode()); 
        hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); 
        hashCode = prime * hashCode + ((getDefaultValue() == null) ? 0 : getDefaultValue().hashCode()); 
        hashCode = prime * hashCode + ((getChangeSeverity() == null) ? 0 : getChangeSeverity().hashCode()); 
        hashCode = prime * hashCode + ((isUserDefined() == null) ? 0 : isUserDefined().hashCode()); 
        hashCode = prime * hashCode + ((getValueType() == null) ? 0 : getValueType().hashCode()); 
        hashCode = prime * hashCode + ((getValueOptions() == null) ? 0 : getValueOptions().hashCode()); 
        hashCode = prime * hashCode + ((getMinValue() == null) ? 0 : getMinValue().hashCode()); 
        hashCode = prime * hashCode + ((getMaxValue() == null) ? 0 : getMaxValue().hashCode()); 
        hashCode = prime * hashCode + ((getMaxLength() == null) ? 0 : getMaxLength().hashCode()); 
        hashCode = prime * hashCode + ((getRegex() == null) ? 0 : getRegex().hashCode()); 
        return hashCode;
    }
    
    @Override
    public boolean equals(Object obj) {
        if (this == objreturn true;
        if (obj == nullreturn false;
        if (obj instanceof ConfigurationOptionDescription == falsereturn false;
        
        if (other.getNamespace() == null ^ this.getNamespace() == nullreturn false;
        if (other.getNamespace() != null && other.getNamespace().equals(this.getNamespace()) == falsereturn false
        if (other.getName() == null ^ this.getName() == nullreturn false;
        if (other.getName() != null && other.getName().equals(this.getName()) == falsereturn false
        if (other.getDefaultValue() == null ^ this.getDefaultValue() == nullreturn false;
        if (other.getDefaultValue() != null && other.getDefaultValue().equals(this.getDefaultValue()) == falsereturn false
        if (other.getChangeSeverity() == null ^ this.getChangeSeverity() == nullreturn false;
        if (other.getChangeSeverity() != null && other.getChangeSeverity().equals(this.getChangeSeverity()) == falsereturn false
        if (other.isUserDefined() == null ^ this.isUserDefined() == nullreturn false;
        if (other.isUserDefined() != null && other.isUserDefined().equals(this.isUserDefined()) == falsereturn false
        if (other.getValueType() == null ^ this.getValueType() == nullreturn false;
        if (other.getValueType() != null && other.getValueType().equals(this.getValueType()) == falsereturn false
        if (other.getValueOptions() == null ^ this.getValueOptions() == nullreturn false;
        if (other.getValueOptions() != null && other.getValueOptions().equals(this.getValueOptions()) == falsereturn false
        if (other.getMinValue() == null ^ this.getMinValue() == nullreturn false;
        if (other.getMinValue() != null && other.getMinValue().equals(this.getMinValue()) == falsereturn false
        if (other.getMaxValue() == null ^ this.getMaxValue() == nullreturn false;
        if (other.getMaxValue() != null && other.getMaxValue().equals(this.getMaxValue()) == falsereturn false
        if (other.getMaxLength() == null ^ this.getMaxLength() == nullreturn false;
        if (other.getMaxLength() != null && other.getMaxLength().equals(this.getMaxLength()) == falsereturn false
        if (other.getRegex() == null ^ this.getRegex() == nullreturn false;
        if (other.getRegex() != null && other.getRegex().equals(this.getRegex()) == falsereturn false
        return true;
    }
    
    @Override
        try {
            return (ConfigurationOptionDescriptionsuper.clone();
        
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException(
                    "Got a CloneNotSupportedException from Object.clone() "
                    + "even though we're Cloneable!",
                    e);
        }
        
    }
}
    
New to GrepCode? Check out our FAQ X