@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationItem extends Object implements Serializable, Cloneable, StructuredPojo
A list that contains detailed configurations of a specified resource.
Constructor and Description |
---|
ConfigurationItem() |
Modifier and Type | Method and Description |
---|---|
ConfigurationItem |
addSupplementaryConfigurationEntry(String key,
String value) |
ConfigurationItem |
addTagsEntry(String key,
String value) |
ConfigurationItem |
clearSupplementaryConfigurationEntries()
Removes all the entries added into SupplementaryConfiguration.
|
ConfigurationItem |
clearTagsEntries()
Removes all the entries added into Tags.
|
ConfigurationItem |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The 12 digit AWS account ID associated with the resource.
|
String |
getArn()
The Amazon Resource Name (ARN) of the resource.
|
String |
getAvailabilityZone()
The Availability Zone associated with the resource.
|
String |
getAwsRegion()
The region where the resource resides.
|
String |
getConfiguration()
The description of the resource configuration.
|
Date |
getConfigurationItemCaptureTime()
The time when the configuration recording was initiated.
|
String |
getConfigurationItemMD5Hash()
Unique MD5 hash that represents the configuration item's state.
|
String |
getConfigurationItemStatus()
The configuration item status.
|
String |
getConfigurationStateId()
An identifier that indicates the ordering of the configuration items of a resource.
|
List<String> |
getRelatedEvents()
A list of CloudTrail event IDs.
|
List<Relationship> |
getRelationships()
A list of related AWS resources.
|
Date |
getResourceCreationTime()
The time stamp when the resource was created.
|
String |
getResourceId()
The ID of the resource (for example.,
sg-xxxxxx ). |
String |
getResourceName()
The custom name of the resource, if available.
|
String |
getResourceType()
The type of AWS resource.
|
Map<String,String> |
getSupplementaryConfiguration()
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the
configuration parameter. |
Map<String,String> |
getTags()
A mapping of key value tags associated with the resource.
|
String |
getVersion()
The version number of the resource configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The 12 digit AWS account ID associated with the resource.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
|
void |
setAwsRegion(String awsRegion)
The region where the resource resides.
|
void |
setConfiguration(String configuration)
The description of the resource configuration.
|
void |
setConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
|
void |
setConfigurationItemMD5Hash(String configurationItemMD5Hash)
Unique MD5 hash that represents the configuration item's state.
|
void |
setConfigurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status.
|
void |
setConfigurationItemStatus(String configurationItemStatus)
The configuration item status.
|
void |
setConfigurationStateId(String configurationStateId)
An identifier that indicates the ordering of the configuration items of a resource.
|
void |
setRelatedEvents(Collection<String> relatedEvents)
A list of CloudTrail event IDs.
|
void |
setRelationships(Collection<Relationship> relationships)
A list of related AWS resources.
|
void |
setResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
|
void |
setResourceId(String resourceId)
The ID of the resource (for example.,
sg-xxxxxx ). |
void |
setResourceName(String resourceName)
The custom name of the resource, if available.
|
void |
setResourceType(ResourceType resourceType)
The type of AWS resource.
|
void |
setResourceType(String resourceType)
The type of AWS resource.
|
void |
setSupplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the
configuration parameter. |
void |
setTags(Map<String,String> tags)
A mapping of key value tags associated with the resource.
|
void |
setVersion(String version)
The version number of the resource configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ConfigurationItem |
withAccountId(String accountId)
The 12 digit AWS account ID associated with the resource.
|
ConfigurationItem |
withArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
ConfigurationItem |
withAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
|
ConfigurationItem |
withAwsRegion(String awsRegion)
The region where the resource resides.
|
ConfigurationItem |
withConfiguration(String configuration)
The description of the resource configuration.
|
ConfigurationItem |
withConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
|
ConfigurationItem |
withConfigurationItemMD5Hash(String configurationItemMD5Hash)
Unique MD5 hash that represents the configuration item's state.
|
ConfigurationItem |
withConfigurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status.
|
ConfigurationItem |
withConfigurationItemStatus(String configurationItemStatus)
The configuration item status.
|
ConfigurationItem |
withConfigurationStateId(String configurationStateId)
An identifier that indicates the ordering of the configuration items of a resource.
|
ConfigurationItem |
withRelatedEvents(Collection<String> relatedEvents)
A list of CloudTrail event IDs.
|
ConfigurationItem |
withRelatedEvents(String... relatedEvents)
A list of CloudTrail event IDs.
|
ConfigurationItem |
withRelationships(Collection<Relationship> relationships)
A list of related AWS resources.
|
ConfigurationItem |
withRelationships(Relationship... relationships)
A list of related AWS resources.
|
ConfigurationItem |
withResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
|
ConfigurationItem |
withResourceId(String resourceId)
The ID of the resource (for example.,
sg-xxxxxx ). |
ConfigurationItem |
withResourceName(String resourceName)
The custom name of the resource, if available.
|
ConfigurationItem |
withResourceType(ResourceType resourceType)
The type of AWS resource.
|
ConfigurationItem |
withResourceType(String resourceType)
The type of AWS resource.
|
ConfigurationItem |
withSupplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the
configuration parameter. |
ConfigurationItem |
withTags(Map<String,String> tags)
A mapping of key value tags associated with the resource.
|
ConfigurationItem |
withVersion(String version)
The version number of the resource configuration.
|
public void setVersion(String version)
The version number of the resource configuration.
version
- The version number of the resource configuration.public String getVersion()
The version number of the resource configuration.
public ConfigurationItem withVersion(String version)
The version number of the resource configuration.
version
- The version number of the resource configuration.public void setAccountId(String accountId)
The 12 digit AWS account ID associated with the resource.
accountId
- The 12 digit AWS account ID associated with the resource.public String getAccountId()
The 12 digit AWS account ID associated with the resource.
public ConfigurationItem withAccountId(String accountId)
The 12 digit AWS account ID associated with the resource.
accountId
- The 12 digit AWS account ID associated with the resource.public void setConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
configurationItemCaptureTime
- The time when the configuration recording was initiated.public Date getConfigurationItemCaptureTime()
The time when the configuration recording was initiated.
public ConfigurationItem withConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
configurationItemCaptureTime
- The time when the configuration recording was initiated.public void setConfigurationItemStatus(String configurationItemStatus)
The configuration item status.
configurationItemStatus
- The configuration item status.ConfigurationItemStatus
public String getConfigurationItemStatus()
The configuration item status.
ConfigurationItemStatus
public ConfigurationItem withConfigurationItemStatus(String configurationItemStatus)
The configuration item status.
configurationItemStatus
- The configuration item status.ConfigurationItemStatus
public void setConfigurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status.
configurationItemStatus
- The configuration item status.ConfigurationItemStatus
public ConfigurationItem withConfigurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status.
configurationItemStatus
- The configuration item status.ConfigurationItemStatus
public void setConfigurationStateId(String configurationStateId)
An identifier that indicates the ordering of the configuration items of a resource.
configurationStateId
- An identifier that indicates the ordering of the configuration items of a resource.public String getConfigurationStateId()
An identifier that indicates the ordering of the configuration items of a resource.
public ConfigurationItem withConfigurationStateId(String configurationStateId)
An identifier that indicates the ordering of the configuration items of a resource.
configurationStateId
- An identifier that indicates the ordering of the configuration items of a resource.public void setConfigurationItemMD5Hash(String configurationItemMD5Hash)
Unique MD5 hash that represents the configuration item's state.
You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
configurationItemMD5Hash
- Unique MD5 hash that represents the configuration item's state.
You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
public String getConfigurationItemMD5Hash()
Unique MD5 hash that represents the configuration item's state.
You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
public ConfigurationItem withConfigurationItemMD5Hash(String configurationItemMD5Hash)
Unique MD5 hash that represents the configuration item's state.
You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
configurationItemMD5Hash
- Unique MD5 hash that represents the configuration item's state.
You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
public void setArn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.public String getArn()
The Amazon Resource Name (ARN) of the resource.
public ConfigurationItem withArn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.public void setResourceType(String resourceType)
The type of AWS resource.
resourceType
- The type of AWS resource.ResourceType
public String getResourceType()
The type of AWS resource.
ResourceType
public ConfigurationItem withResourceType(String resourceType)
The type of AWS resource.
resourceType
- The type of AWS resource.ResourceType
public void setResourceType(ResourceType resourceType)
The type of AWS resource.
resourceType
- The type of AWS resource.ResourceType
public ConfigurationItem withResourceType(ResourceType resourceType)
The type of AWS resource.
resourceType
- The type of AWS resource.ResourceType
public void setResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx
).
resourceId
- The ID of the resource (for example., sg-xxxxxx
).public String getResourceId()
The ID of the resource (for example., sg-xxxxxx
).
sg-xxxxxx
).public ConfigurationItem withResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx
).
resourceId
- The ID of the resource (for example., sg-xxxxxx
).public void setResourceName(String resourceName)
The custom name of the resource, if available.
resourceName
- The custom name of the resource, if available.public String getResourceName()
The custom name of the resource, if available.
public ConfigurationItem withResourceName(String resourceName)
The custom name of the resource, if available.
resourceName
- The custom name of the resource, if available.public void setAwsRegion(String awsRegion)
The region where the resource resides.
awsRegion
- The region where the resource resides.public String getAwsRegion()
The region where the resource resides.
public ConfigurationItem withAwsRegion(String awsRegion)
The region where the resource resides.
awsRegion
- The region where the resource resides.public void setAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
availabilityZone
- The Availability Zone associated with the resource.public String getAvailabilityZone()
The Availability Zone associated with the resource.
public ConfigurationItem withAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
availabilityZone
- The Availability Zone associated with the resource.public void setResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
resourceCreationTime
- The time stamp when the resource was created.public Date getResourceCreationTime()
The time stamp when the resource was created.
public ConfigurationItem withResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
resourceCreationTime
- The time stamp when the resource was created.public Map<String,String> getTags()
A mapping of key value tags associated with the resource.
public void setTags(Map<String,String> tags)
A mapping of key value tags associated with the resource.
tags
- A mapping of key value tags associated with the resource.public ConfigurationItem withTags(Map<String,String> tags)
A mapping of key value tags associated with the resource.
tags
- A mapping of key value tags associated with the resource.public ConfigurationItem addTagsEntry(String key, String value)
public ConfigurationItem clearTagsEntries()
public List<String> getRelatedEvents()
A list of CloudTrail event IDs.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
public void setRelatedEvents(Collection<String> relatedEvents)
A list of CloudTrail event IDs.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
relatedEvents
- A list of CloudTrail event IDs.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
public ConfigurationItem withRelatedEvents(String... relatedEvents)
A list of CloudTrail event IDs.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedEvents(java.util.Collection)
or withRelatedEvents(java.util.Collection)
if you want
to override the existing values.
relatedEvents
- A list of CloudTrail event IDs.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
public ConfigurationItem withRelatedEvents(Collection<String> relatedEvents)
A list of CloudTrail event IDs.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
relatedEvents
- A list of CloudTrail event IDs.
A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What is AWS CloudTrail?.
An empty field indicates that the current configuration was not initiated by any event.
public List<Relationship> getRelationships()
A list of related AWS resources.
public void setRelationships(Collection<Relationship> relationships)
A list of related AWS resources.
relationships
- A list of related AWS resources.public ConfigurationItem withRelationships(Relationship... relationships)
A list of related AWS resources.
NOTE: This method appends the values to the existing list (if any). Use
setRelationships(java.util.Collection)
or withRelationships(java.util.Collection)
if you want
to override the existing values.
relationships
- A list of related AWS resources.public ConfigurationItem withRelationships(Collection<Relationship> relationships)
A list of related AWS resources.
relationships
- A list of related AWS resources.public void setConfiguration(String configuration)
The description of the resource configuration.
configuration
- The description of the resource configuration.public String getConfiguration()
The description of the resource configuration.
public ConfigurationItem withConfiguration(String configuration)
The description of the resource configuration.
configuration
- The description of the resource configuration.public Map<String,String> getSupplementaryConfiguration()
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the configuration
parameter.
configuration
parameter.public void setSupplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the configuration
parameter.
supplementaryConfiguration
- Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the configuration
parameter.public ConfigurationItem withSupplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the configuration
parameter.
supplementaryConfiguration
- Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the configuration
parameter.public ConfigurationItem addSupplementaryConfigurationEntry(String key, String value)
public ConfigurationItem clearSupplementaryConfigurationEntries()
public String toString()
toString
in class Object
Object.toString()
public ConfigurationItem 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.