@Generated(value="software.amazon.awssdk:codegen") public final class DescribeLaunchTemplatesRequest extends Ec2Request implements ToCopyableBuilder<DescribeLaunchTemplatesRequest.Builder,DescribeLaunchTemplatesRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeLaunchTemplatesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeLaunchTemplatesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
List<Filter> |
filters()
One or more filters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<String> |
launchTemplateIds()
One or more launch template IDs.
|
List<String> |
launchTemplateNames()
One or more launch template names.
|
Integer |
maxResults()
The maximum number of results to return in a single call.
|
String |
nextToken()
The token to request the next page of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeLaunchTemplatesRequest.Builder> |
serializableBuilderClass() |
DescribeLaunchTemplatesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<String> launchTemplateIds()
One or more launch template IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> launchTemplateNames()
One or more launch template names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Filter> filters()
One or more filters.
create-time
- The time the launch template was created.
launch-template-name
- The name of the launch template.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in
the filter name and the tag value as the filter value. For example, to find all resources that have a tag with
the key Owner
and the value TeamA
, specify tag:Owner
for the filter name
and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
create-time
- The time the launch template was created.
launch-template-name
- The name of the launch template.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag
key in the filter name and the tag value as the filter value. For example, to find all resources that
have a tag with the key Owner
and the value TeamA
, specify
tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public String nextToken()
The token to request the next page of results.
public Integer maxResults()
The maximum number of results to return in a single call. To retrieve the remaining results, make another call
with the returned NextToken
value. This value can be between 1 and 200.
NextToken
value. This value can be between 1 and 200.public DescribeLaunchTemplatesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeLaunchTemplatesRequest.Builder,DescribeLaunchTemplatesRequest>
toBuilder
in class Ec2Request
public static DescribeLaunchTemplatesRequest.Builder builder()
public static Class<? extends DescribeLaunchTemplatesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.