@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InfrastructureConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details of the infrastructure configuration.
Constructor and Description |
---|
InfrastructureConfiguration() |
Modifier and Type | Method and Description |
---|---|
InfrastructureConfiguration |
addTagsEntry(String key,
String value) |
InfrastructureConfiguration |
clearTagsEntries()
Removes all the entries added into Tags.
|
InfrastructureConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the infrastruction 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 infrastruction configuration.
|
String |
getInstanceProfileName()
The instance profile of the infrastruction configuration.
|
List<String> |
getInstanceTypes()
The instance types of the infrastruction configuration.
|
String |
getKeyPair()
The EC2 key pair of the infrastruction configuration.
|
Logging |
getLogging()
The logging configuration of the infrastruction configuration.
|
String |
getName()
The name of the infrastruction configuration.
|
List<String> |
getSecurityGroupIds()
The security group IDs of the infrastruction configuration.
|
String |
getSnsTopicArn()
The SNS Topic Amazon Resource Name (ARN) of the infrastruction configuration.
|
String |
getSubnetId()
The subnet ID of the infrastruction configuration.
|
Map<String,String> |
getTags()
The tags of the infrastruction configuration.
|
Boolean |
getTerminateInstanceOnFailure()
The terminate instance on failure configuration of the infrastruction configuration.
|
int |
hashCode() |
Boolean |
isTerminateInstanceOnFailure()
The terminate instance on failure configuration of the infrastruction configuration.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the infrastruction 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 infrastruction configuration.
|
void |
setInstanceProfileName(String instanceProfileName)
The instance profile of the infrastruction configuration.
|
void |
setInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastruction configuration.
|
void |
setKeyPair(String keyPair)
The EC2 key pair of the infrastruction configuration.
|
void |
setLogging(Logging logging)
The logging configuration of the infrastruction configuration.
|
void |
setName(String name)
The name of the infrastruction configuration.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs of the infrastruction configuration.
|
void |
setSnsTopicArn(String snsTopicArn)
The SNS Topic Amazon Resource Name (ARN) of the infrastruction configuration.
|
void |
setSubnetId(String subnetId)
The subnet ID of the infrastruction configuration.
|
void |
setTags(Map<String,String> tags)
The tags of the infrastruction configuration.
|
void |
setTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastruction configuration.
|
String |
toString()
Returns a string representation of this object.
|
InfrastructureConfiguration |
withArn(String arn)
The Amazon Resource Name (ARN) of the infrastruction configuration.
|
InfrastructureConfiguration |
withDateCreated(String dateCreated)
The date on which the infrastructure configuration was created.
|
InfrastructureConfiguration |
withDateUpdated(String dateUpdated)
The date on which the infrastructure configuration was last updated.
|
InfrastructureConfiguration |
withDescription(String description)
The description of the infrastruction configuration.
|
InfrastructureConfiguration |
withInstanceProfileName(String instanceProfileName)
The instance profile of the infrastruction configuration.
|
InfrastructureConfiguration |
withInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastruction configuration.
|
InfrastructureConfiguration |
withInstanceTypes(String... instanceTypes)
The instance types of the infrastruction configuration.
|
InfrastructureConfiguration |
withKeyPair(String keyPair)
The EC2 key pair of the infrastruction configuration.
|
InfrastructureConfiguration |
withLogging(Logging logging)
The logging configuration of the infrastruction configuration.
|
InfrastructureConfiguration |
withName(String name)
The name of the infrastruction configuration.
|
InfrastructureConfiguration |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs of the infrastruction configuration.
|
InfrastructureConfiguration |
withSecurityGroupIds(String... securityGroupIds)
The security group IDs of the infrastruction configuration.
|
InfrastructureConfiguration |
withSnsTopicArn(String snsTopicArn)
The SNS Topic Amazon Resource Name (ARN) of the infrastruction configuration.
|
InfrastructureConfiguration |
withSubnetId(String subnetId)
The subnet ID of the infrastruction configuration.
|
InfrastructureConfiguration |
withTags(Map<String,String> tags)
The tags of the infrastruction configuration.
|
InfrastructureConfiguration |
withTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastruction configuration.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the infrastruction configuration.
arn
- The Amazon Resource Name (ARN) of the infrastruction configuration.public String getArn()
The Amazon Resource Name (ARN) of the infrastruction configuration.
public InfrastructureConfiguration withArn(String arn)
The Amazon Resource Name (ARN) of the infrastruction configuration.
arn
- The Amazon Resource Name (ARN) of the infrastruction configuration.public void setName(String name)
The name of the infrastruction configuration.
name
- The name of the infrastruction configuration.public String getName()
The name of the infrastruction configuration.
public InfrastructureConfiguration withName(String name)
The name of the infrastruction configuration.
name
- The name of the infrastruction configuration.public void setDescription(String description)
The description of the infrastruction configuration.
description
- The description of the infrastruction configuration.public String getDescription()
The description of the infrastruction configuration.
public InfrastructureConfiguration withDescription(String description)
The description of the infrastruction configuration.
description
- The description of the infrastruction configuration.public List<String> getInstanceTypes()
The instance types of the infrastruction configuration.
public void setInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastruction configuration.
instanceTypes
- The instance types of the infrastruction configuration.public InfrastructureConfiguration withInstanceTypes(String... instanceTypes)
The instance types of the infrastruction 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 infrastruction configuration.public InfrastructureConfiguration withInstanceTypes(Collection<String> instanceTypes)
The instance types of the infrastruction configuration.
instanceTypes
- The instance types of the infrastruction configuration.public void setInstanceProfileName(String instanceProfileName)
The instance profile of the infrastruction configuration.
instanceProfileName
- The instance profile of the infrastruction configuration.public String getInstanceProfileName()
The instance profile of the infrastruction configuration.
public InfrastructureConfiguration withInstanceProfileName(String instanceProfileName)
The instance profile of the infrastruction configuration.
instanceProfileName
- The instance profile of the infrastruction configuration.public List<String> getSecurityGroupIds()
The security group IDs of the infrastruction configuration.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs of the infrastruction configuration.
securityGroupIds
- The security group IDs of the infrastruction configuration.public InfrastructureConfiguration withSecurityGroupIds(String... securityGroupIds)
The security group IDs of the infrastruction configuration.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The security group IDs of the infrastruction configuration.public InfrastructureConfiguration withSecurityGroupIds(Collection<String> securityGroupIds)
The security group IDs of the infrastruction configuration.
securityGroupIds
- The security group IDs of the infrastruction configuration.public void setSubnetId(String subnetId)
The subnet ID of the infrastruction configuration.
subnetId
- The subnet ID of the infrastruction configuration.public String getSubnetId()
The subnet ID of the infrastruction configuration.
public InfrastructureConfiguration withSubnetId(String subnetId)
The subnet ID of the infrastruction configuration.
subnetId
- The subnet ID of the infrastruction configuration.public void setLogging(Logging logging)
The logging configuration of the infrastruction configuration.
logging
- The logging configuration of the infrastruction configuration.public Logging getLogging()
The logging configuration of the infrastruction configuration.
public InfrastructureConfiguration withLogging(Logging logging)
The logging configuration of the infrastruction configuration.
logging
- The logging configuration of the infrastruction configuration.public void setKeyPair(String keyPair)
The EC2 key pair of the infrastruction configuration.
keyPair
- The EC2 key pair of the infrastruction configuration.public String getKeyPair()
The EC2 key pair of the infrastruction configuration.
public InfrastructureConfiguration withKeyPair(String keyPair)
The EC2 key pair of the infrastruction configuration.
keyPair
- The EC2 key pair of the infrastruction configuration.public void setTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastruction configuration.
terminateInstanceOnFailure
- The terminate instance on failure configuration of the infrastruction configuration.public Boolean getTerminateInstanceOnFailure()
The terminate instance on failure configuration of the infrastruction configuration.
public InfrastructureConfiguration withTerminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastruction configuration.
terminateInstanceOnFailure
- The terminate instance on failure configuration of the infrastruction configuration.public Boolean isTerminateInstanceOnFailure()
The terminate instance on failure configuration of the infrastruction configuration.
public void setSnsTopicArn(String snsTopicArn)
The SNS Topic Amazon Resource Name (ARN) of the infrastruction configuration.
snsTopicArn
- The SNS Topic Amazon Resource Name (ARN) of the infrastruction configuration.public String getSnsTopicArn()
The SNS Topic Amazon Resource Name (ARN) of the infrastruction configuration.
public InfrastructureConfiguration withSnsTopicArn(String snsTopicArn)
The SNS Topic Amazon Resource Name (ARN) of the infrastruction configuration.
snsTopicArn
- The SNS Topic Amazon Resource Name (ARN) of the infrastruction 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 InfrastructureConfiguration 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 InfrastructureConfiguration 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> getTags()
The tags of the infrastruction configuration.
public void setTags(Map<String,String> tags)
The tags of the infrastruction configuration.
tags
- The tags of the infrastruction configuration.public InfrastructureConfiguration withTags(Map<String,String> tags)
The tags of the infrastruction configuration.
tags
- The tags of the infrastruction configuration.public InfrastructureConfiguration addTagsEntry(String key, String value)
public InfrastructureConfiguration clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public InfrastructureConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.