@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLaunchTemplateVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLaunchTemplateVersionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLaunchTemplateVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<LaunchTemplateVersion> |
getLaunchTemplateVersions()
Information about the launch template versions.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setLaunchTemplateVersions(Collection<LaunchTemplateVersion> launchTemplateVersions)
Information about the launch template versions.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeLaunchTemplateVersionsResult |
withLaunchTemplateVersions(Collection<LaunchTemplateVersion> launchTemplateVersions)
Information about the launch template versions.
|
DescribeLaunchTemplateVersionsResult |
withLaunchTemplateVersions(LaunchTemplateVersion... launchTemplateVersions)
Information about the launch template versions.
|
DescribeLaunchTemplateVersionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeLaunchTemplateVersionsResult()
public List<LaunchTemplateVersion> getLaunchTemplateVersions()
Information about the launch template versions.
public void setLaunchTemplateVersions(Collection<LaunchTemplateVersion> launchTemplateVersions)
Information about the launch template versions.
launchTemplateVersions
- Information about the launch template versions.public DescribeLaunchTemplateVersionsResult withLaunchTemplateVersions(LaunchTemplateVersion... launchTemplateVersions)
Information about the launch template versions.
NOTE: This method appends the values to the existing list (if any). Use
setLaunchTemplateVersions(java.util.Collection)
or
withLaunchTemplateVersions(java.util.Collection)
if you want to override the existing values.
launchTemplateVersions
- Information about the launch template versions.public DescribeLaunchTemplateVersionsResult withLaunchTemplateVersions(Collection<LaunchTemplateVersion> launchTemplateVersions)
Information about the launch template versions.
launchTemplateVersions
- Information about the launch template versions.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 DescribeLaunchTemplateVersionsResult 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 DescribeLaunchTemplateVersionsResult clone()