@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InfrastructureConfigurationSummary extends Object implements Serializable, Cloneable, StructuredPojo
The infrastructure used when building Amazon EC2 AMIs.
Constructor and Description |
---|
InfrastructureConfigurationSummary() |
Modifier and Type | Method and Description |
---|---|
InfrastructureConfigurationSummary |
addResourceTagsEntry(String key,
String value)
Add a single ResourceTags entry
|
InfrastructureConfigurationSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
InfrastructureConfigurationSummary |
clearResourceTagsEntries()
Removes all the entries added into ResourceTags.
|
InfrastructureConfigurationSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
InfrastructureConfigurationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the infrastructure configuration.
|
String |
getDateCreated()
The date on which the infrastructure configuration was created.
|
String |
getDateUpdated()
The date on which the infrastructure configuration was last updated.
|
String |
getDescription()
The description of the infrastructure configuration.
|
String |
getInstanceProfileName()
The instance profile of the infrastructure configuration.
|
List<String> |
getInstanceTypes()
The instance types of the infrastructure configuration.
|
String |
getName()
The name of the infrastructure configuration.
|
Map<String,String> |
getResourceTags()
The tags attached to the image created by Image Builder.
|
Map<String,String> |
getTags()
The tags of the infrastructure configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the infrastructure configuration.
|
void |
setDateCreated(String dateCreated)
The date on which the infrastructure configuration was created.
|
void |
setDateUpdated(String dateUpdated)
The date on which the infrastructure configuration was last updated.
|
void |
setDescription(String description)
The description of the infrastructure configuration.
|
void |
setInstanceProfileName(String instanceProfileName)
The instance profile of the infrastructure configuration.
|
void |
setInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
|
void |
setName(String name)
The name of the infrastructure configuration.
|
void |
setResourceTags(Map<String,String> resourceTags)
The tags attached to the image created by Image Builder.
|
void |
setTags(Map<String,String> tags)
The tags of the infrastructure configuration.
|
String |
toString()
Returns a string representation of this object.
|
InfrastructureConfigurationSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the infrastructure configuration.
|
InfrastructureConfigurationSummary |
withDateCreated(String dateCreated)
The date on which the infrastructure configuration was created.
|
InfrastructureConfigurationSummary |
withDateUpdated(String dateUpdated)
The date on which the infrastructure configuration was last updated.
|
InfrastructureConfigurationSummary |
withDescription(String description)
The description of the infrastructure configuration.
|
InfrastructureConfigurationSummary |
withInstanceProfileName(String instanceProfileName)
The instance profile of the infrastructure configuration.
|
InfrastructureConfigurationSummary |
withInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
|
InfrastructureConfigurationSummary |
withInstanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration.
|
InfrastructureConfigurationSummary |
withName(String name)
The name of the infrastructure configuration.
|
InfrastructureConfigurationSummary |
withResourceTags(Map<String,String> resourceTags)
The tags attached to the image created by Image Builder.
|
InfrastructureConfigurationSummary |
withTags(Map<String,String> tags)
The tags of the infrastructure configuration.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the infrastructure configuration.
arn
- The Amazon Resource Name (ARN) of the infrastructure configuration.public String getArn()
The Amazon Resource Name (ARN) of the infrastructure configuration.
public InfrastructureConfigurationSummary withArn(String arn)
The Amazon Resource Name (ARN) of the infrastructure configuration.
arn
- The Amazon Resource Name (ARN) of the infrastructure configuration.public void setName(String name)
The name of the infrastructure configuration.
name
- The name of the infrastructure configuration.public String getName()
The name of the infrastructure configuration.
public InfrastructureConfigurationSummary withName(String name)
The name of the infrastructure configuration.
name
- The name of the infrastructure configuration.public void setDescription(String description)
The description of the infrastructure configuration.
description
- The description of the infrastructure configuration.public String getDescription()
The description of the infrastructure configuration.
public InfrastructureConfigurationSummary withDescription(String description)
The description of the infrastructure configuration.
description
- The description of the infrastructure configuration.public void setDateCreated(String dateCreated)
The date on which the infrastructure configuration was created.
dateCreated
- The date on which the infrastructure configuration was created.public String getDateCreated()
The date on which the infrastructure configuration was created.
public InfrastructureConfigurationSummary withDateCreated(String dateCreated)
The date on which the infrastructure configuration was created.
dateCreated
- The date on which the infrastructure configuration was created.public void setDateUpdated(String dateUpdated)
The date on which the infrastructure configuration was last updated.
dateUpdated
- The date on which the infrastructure configuration was last updated.public String getDateUpdated()
The date on which the infrastructure configuration was last updated.
public InfrastructureConfigurationSummary withDateUpdated(String dateUpdated)
The date on which the infrastructure configuration was last updated.
dateUpdated
- The date on which the infrastructure configuration was last updated.public Map<String,String> getResourceTags()
The tags attached to the image created by Image Builder.
public void setResourceTags(Map<String,String> resourceTags)
The tags attached to the image created by Image Builder.
resourceTags
- The tags attached to the image created by Image Builder.public InfrastructureConfigurationSummary withResourceTags(Map<String,String> resourceTags)
The tags attached to the image created by Image Builder.
resourceTags
- The tags attached to the image created by Image Builder.public InfrastructureConfigurationSummary addResourceTagsEntry(String key, String value)
public InfrastructureConfigurationSummary clearResourceTagsEntries()
public Map<String,String> getTags()
The tags of the infrastructure configuration.
public void setTags(Map<String,String> tags)
The tags of the infrastructure configuration.
tags
- The tags of the infrastructure configuration.public InfrastructureConfigurationSummary withTags(Map<String,String> tags)
The tags of the infrastructure configuration.
tags
- The tags of the infrastructure configuration.public InfrastructureConfigurationSummary addTagsEntry(String key, String value)
public InfrastructureConfigurationSummary clearTagsEntries()
public List<String> getInstanceTypes()
The instance types of the infrastructure configuration.
public void setInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
instanceTypes
- The instance types of the infrastructure configuration.public InfrastructureConfigurationSummary withInstanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceTypes(java.util.Collection)
or withInstanceTypes(java.util.Collection)
if you want
to override the existing values.
instanceTypes
- The instance types of the infrastructure configuration.public InfrastructureConfigurationSummary withInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
instanceTypes
- The instance types of the infrastructure configuration.public void setInstanceProfileName(String instanceProfileName)
The instance profile of the infrastructure configuration.
instanceProfileName
- The instance profile of the infrastructure configuration.public String getInstanceProfileName()
The instance profile of the infrastructure configuration.
public InfrastructureConfigurationSummary withInstanceProfileName(String instanceProfileName)
The instance profile of the infrastructure configuration.
instanceProfileName
- The instance profile of the infrastructure configuration.public String toString()
toString
in class Object
Object.toString()
public InfrastructureConfigurationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.