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.autoscaling.model;
Container for the parameters to the DescribeLaunchConfigurations operation.

Returns a full description of the launch configurations given the specified names.

If no names are specified, then the full details of all launch configurations are returned.

 
 
     private java.util.List<StringlaunchConfigurationNames;

    

Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

 
     private String nextToken;

    

Constraints:
Range: 20 - 100

 
     private Integer maxRecords;

    

Returns:
 
         if ( == null) {
              = new java.util.ArrayList<String>();
         }
         return ;
     }
    
    

Parameters:
launchConfigurationNames
 
     public void setLaunchConfigurationNames(java.util.Collection<StringlaunchConfigurationNames) {
         java.util.List<StringlaunchConfigurationNamesCopy = new java.util.ArrayList<String>();
         if (launchConfigurationNames != null) {
             launchConfigurationNamesCopy.addAll(launchConfigurationNames);
         }
         this. = launchConfigurationNamesCopy;
     }
    
    

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

Parameters:
launchConfigurationNames
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public DescribeLaunchConfigurationsRequest withLaunchConfigurationNames(String... launchConfigurationNames) {
         for (String value : launchConfigurationNames) {
             getLaunchConfigurationNames().add(value);
         }
         return this;
     }
    
    

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

Parameters:
launchConfigurationNames
Returns:
A reference to this updated object so that method calls can be chained together.
        java.util.List<StringlaunchConfigurationNamesCopy = new java.util.ArrayList<String>();
        if (launchConfigurationNames != null) {
            launchConfigurationNamesCopy.addAll(launchConfigurationNames);
        }
        this. = launchConfigurationNamesCopy;
        return this;
    }
    
    

Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
    public String getNextToken() {
        return ;
    }
    
    

Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
nextToken
    public void setNextToken(String nextToken) {
        this. = nextToken;
    }
    
    

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

Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
nextToken
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = nextToken;
        return this;
    }
    
    
    

Constraints:
Range: 20 - 100

Returns:
    public Integer getMaxRecords() {
        return ;
    }
    
    

Constraints:
Range: 20 - 100

Parameters:
maxRecords
    public void setMaxRecords(Integer maxRecords) {
        this. = maxRecords;
    }
    
    

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

Constraints:
Range: 20 - 100

Parameters:
maxRecords
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = maxRecords;
        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("LaunchConfigurationNames: " +  + ", ");
        sb.append("NextToken: " +  + ", ");
        sb.append("MaxRecords: " +  + ", ");
        sb.append("}");
        return sb.toString();
    }
    
}
    
New to GrepCode? Check out our FAQ X