@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Identifies an Amazon EC2 launch template to use for a specific account.
Constructor and Description |
---|
LaunchTemplateConfiguration() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID that this configuration applies to.
|
String |
getLaunchTemplateId()
Identifies the Amazon EC2 launch template to use.
|
Boolean |
getSetDefaultVersion()
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
|
int |
hashCode() |
Boolean |
isSetDefaultVersion()
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The account ID that this configuration applies to.
|
void |
setLaunchTemplateId(String launchTemplateId)
Identifies the Amazon EC2 launch template to use.
|
void |
setSetDefaultVersion(Boolean setDefaultVersion)
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateConfiguration |
withAccountId(String accountId)
The account ID that this configuration applies to.
|
LaunchTemplateConfiguration |
withLaunchTemplateId(String launchTemplateId)
Identifies the Amazon EC2 launch template to use.
|
LaunchTemplateConfiguration |
withSetDefaultVersion(Boolean setDefaultVersion)
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
|
public void setLaunchTemplateId(String launchTemplateId)
Identifies the Amazon EC2 launch template to use.
launchTemplateId
- Identifies the Amazon EC2 launch template to use.public String getLaunchTemplateId()
Identifies the Amazon EC2 launch template to use.
public LaunchTemplateConfiguration withLaunchTemplateId(String launchTemplateId)
Identifies the Amazon EC2 launch template to use.
launchTemplateId
- Identifies the Amazon EC2 launch template to use.public void setAccountId(String accountId)
The account ID that this configuration applies to.
accountId
- The account ID that this configuration applies to.public String getAccountId()
The account ID that this configuration applies to.
public LaunchTemplateConfiguration withAccountId(String accountId)
The account ID that this configuration applies to.
accountId
- The account ID that this configuration applies to.public void setSetDefaultVersion(Boolean setDefaultVersion)
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
setDefaultVersion
- Set the specified Amazon EC2 launch template as the default launch template for the specified account.public Boolean getSetDefaultVersion()
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
public LaunchTemplateConfiguration withSetDefaultVersion(Boolean setDefaultVersion)
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
setDefaultVersion
- Set the specified Amazon EC2 launch template as the default launch template for the specified account.public Boolean isSetDefaultVersion()
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.