@Generated(value="software.amazon.awssdk:codegen") public final class ConfigurationItem extends Object implements StructuredPojo, ToCopyableBuilder<ConfigurationItem.Builder,ConfigurationItem>
A list that contains detailed configurations of a specified resource.
Modifier and Type | Class and Description |
---|---|
static interface |
ConfigurationItem.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accountId()
The 12 digit AWS account ID associated with the resource.
|
String |
arn()
The Amazon Resource Name (ARN) of the resource.
|
String |
availabilityZone()
The Availability Zone associated with the resource.
|
String |
awsRegion()
The region where the resource resides.
|
static ConfigurationItem.Builder |
builder() |
String |
configuration()
The description of the resource configuration.
|
Instant |
configurationItemCaptureTime()
The time when the configuration recording was initiated.
|
String |
configurationItemMD5Hash()
Unique MD5 hash that represents the configuration item's state.
|
ConfigurationItemStatus |
configurationItemStatus()
The configuration item status.
|
String |
configurationItemStatusAsString()
The configuration item status.
|
String |
configurationStateId()
An identifier that indicates the ordering of the configuration items of a resource.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
relatedEvents()
A list of CloudTrail event IDs.
|
List<Relationship> |
relationships()
A list of related AWS resources.
|
Instant |
resourceCreationTime()
The time stamp when the resource was created.
|
String |
resourceId()
The ID of the resource (for example.,
sg-xxxxxx ). |
String |
resourceName()
The custom name of the resource, if available.
|
ResourceType |
resourceType()
The type of AWS resource.
|
String |
resourceTypeAsString()
The type of AWS resource.
|
static Class<? extends ConfigurationItem.Builder> |
serializableBuilderClass() |
Map<String,String> |
supplementaryConfiguration()
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the
configuration parameter. |
Map<String,String> |
tags()
A mapping of key value tags associated with the resource.
|
ConfigurationItem.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version number of the resource configuration.
|
copy
public String version()
The version number of the resource configuration.
public String accountId()
The 12 digit AWS account ID associated with the resource.
public Instant configurationItemCaptureTime()
The time when the configuration recording was initiated.
public ConfigurationItemStatus configurationItemStatus()
The configuration item status.
If the service returns an enum value that is not available in the current SDK version,
configurationItemStatus
will return ConfigurationItemStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from configurationItemStatusAsString()
.
ConfigurationItemStatus
public String configurationItemStatusAsString()
The configuration item status.
If the service returns an enum value that is not available in the current SDK version,
configurationItemStatus
will return ConfigurationItemStatus.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from configurationItemStatusAsString()
.
ConfigurationItemStatus
public String configurationStateId()
An identifier that indicates the ordering of the configuration items of a resource.
public 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.
You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
public String arn()
The Amazon Resource Name (ARN) of the resource.
public ResourceType resourceType()
The type of AWS resource.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceTypeAsString()
The type of AWS resource.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceId()
The ID of the resource (for example., sg-xxxxxx
).
sg-xxxxxx
).public String resourceName()
The custom name of the resource, if available.
public String awsRegion()
The region where the resource resides.
public String availabilityZone()
The Availability Zone associated with the resource.
public Instant resourceCreationTime()
The time stamp when the resource was created.
public Map<String,String> tags()
A mapping of key value tags associated with the resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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> relationships()
A list of related AWS resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String configuration()
The description of the resource configuration.
public Map<String,String> supplementaryConfiguration()
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the configuration
parameter.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
configuration
parameter.public ConfigurationItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConfigurationItem.Builder,ConfigurationItem>
public static ConfigurationItem.Builder builder()
public static Class<? extends ConfigurationItem.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.