@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLaunchTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLaunchTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLaunchTemplatesResult |
clone() |
boolean |
equals(Object obj) |
List<LaunchTemplate> |
getLaunchTemplates()
Information about the launch templates.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setLaunchTemplates(Collection<LaunchTemplate> launchTemplates)
Information about the launch templates.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLaunchTemplatesResult |
withLaunchTemplates(Collection<LaunchTemplate> launchTemplates)
Information about the launch templates.
|
DescribeLaunchTemplatesResult |
withLaunchTemplates(LaunchTemplate... launchTemplates)
Information about the launch templates.
|
DescribeLaunchTemplatesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LaunchTemplate> getLaunchTemplates()
Information about the launch templates.
public void setLaunchTemplates(Collection<LaunchTemplate> launchTemplates)
Information about the launch templates.
launchTemplates
- Information about the launch templates.public DescribeLaunchTemplatesResult withLaunchTemplates(LaunchTemplate... launchTemplates)
Information about the launch templates.
NOTE: This method appends the values to the existing list (if any). Use
setLaunchTemplates(java.util.Collection)
or withLaunchTemplates(java.util.Collection)
if you
want to override the existing values.
launchTemplates
- Information about the launch templates.public DescribeLaunchTemplatesResult withLaunchTemplates(Collection<LaunchTemplate> launchTemplates)
Information about the launch templates.
launchTemplates
- Information about the launch templates.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeLaunchTemplatesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeLaunchTemplatesResult clone()