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;

 
 public class DescribeLaunchConfigurationsResult {

    
 

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

 
     private String nextToken;

    

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

Parameters:
launchConfigurations
 
     public void setLaunchConfigurations(java.util.Collection<LaunchConfigurationlaunchConfigurations) {
         java.util.List<LaunchConfigurationlaunchConfigurationsCopy = new java.util.ArrayList<LaunchConfiguration>();
         if (launchConfigurations != null) {
             launchConfigurationsCopy.addAll(launchConfigurations);
         }
         this. = launchConfigurationsCopy;
     }
    
    

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

Parameters:
launchConfigurations
Returns:
A reference to this updated object so that method calls can be chained together.
 
         for (LaunchConfiguration value : launchConfigurations) {
             getLaunchConfigurations().add(value);
         }
         return this;
     }
    
    

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

Parameters:
launchConfigurations
Returns:
A reference to this updated object so that method calls can be chained together.
 
         java.util.List<LaunchConfigurationlaunchConfigurationsCopy = new java.util.ArrayList<LaunchConfiguration>();
         if (launchConfigurations != null) {
             launchConfigurationsCopy.addAll(launchConfigurations);
         }
         this. = launchConfigurationsCopy;
 
         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;
    }
    
    
    
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("LaunchConfigurations: " +  + ", ");
        sb.append("NextToken: " +  + ", ");
        sb.append("}");
        return sb.toString();
    }
    
}
    
New to GrepCode? Check out our FAQ X