public static interface ConfigurationItem.Builder extends CopyableBuilder<ConfigurationItem.Builder,ConfigurationItem>
Modifier and Type | Method and Description |
---|---|
ConfigurationItem.Builder |
accountId(String accountId)
The 12 digit AWS account ID associated with the resource.
|
ConfigurationItem.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
ConfigurationItem.Builder |
availabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
|
ConfigurationItem.Builder |
awsRegion(String awsRegion)
The region where the resource resides.
|
ConfigurationItem.Builder |
configuration(String configuration)
The description of the resource configuration.
|
ConfigurationItem.Builder |
configurationItemCaptureTime(Instant configurationItemCaptureTime)
The time when the configuration recording was initiated.
|
ConfigurationItem.Builder |
configurationItemMD5Hash(String configurationItemMD5Hash)
Unique MD5 hash that represents the configuration item's state.
|
ConfigurationItem.Builder |
configurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status.
|
ConfigurationItem.Builder |
configurationItemStatus(String configurationItemStatus)
The configuration item status.
|
ConfigurationItem.Builder |
configurationStateId(String configurationStateId)
An identifier that indicates the ordering of the configuration items of a resource.
|
ConfigurationItem.Builder |
relatedEvents(Collection<String> relatedEvents)
A list of CloudTrail event IDs.
|
ConfigurationItem.Builder |
relatedEvents(String... relatedEvents)
A list of CloudTrail event IDs.
|
ConfigurationItem.Builder |
relationships(Collection<Relationship> relationships)
A list of related AWS resources.
|
ConfigurationItem.Builder |
relationships(Consumer<Relationship.Builder>... relationships)
A list of related AWS resources.
|
ConfigurationItem.Builder |
relationships(Relationship... relationships)
A list of related AWS resources.
|
ConfigurationItem.Builder |
resourceCreationTime(Instant resourceCreationTime)
The time stamp when the resource was created.
|
ConfigurationItem.Builder |
resourceId(String resourceId)
The ID of the resource (for example.,
sg-xxxxxx ). |
ConfigurationItem.Builder |
resourceName(String resourceName)
The custom name of the resource, if available.
|
ConfigurationItem.Builder |
resourceType(ResourceType resourceType)
The type of AWS resource.
|
ConfigurationItem.Builder |
resourceType(String resourceType)
The type of AWS resource.
|
ConfigurationItem.Builder |
supplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that AWS Config returns for certain resource types to supplement the information
returned for the
configuration parameter. |
ConfigurationItem.Builder |
tags(Map<String,String> tags)
A mapping of key value tags associated with the resource.
|
ConfigurationItem.Builder |
version(String version)
The version number of the resource configuration.
|
copy
applyMutation, build
ConfigurationItem.Builder version(String version)
The version number of the resource configuration.
version
- The version number of the resource configuration.ConfigurationItem.Builder accountId(String accountId)
The 12 digit AWS account ID associated with the resource.
accountId
- The 12 digit AWS account ID associated with the resource.ConfigurationItem.Builder configurationItemCaptureTime(Instant configurationItemCaptureTime)
The time when the configuration recording was initiated.
configurationItemCaptureTime
- The time when the configuration recording was initiated.ConfigurationItem.Builder configurationItemStatus(String configurationItemStatus)
The configuration item status.
configurationItemStatus
- The configuration item status.ConfigurationItemStatus
,
ConfigurationItemStatus
ConfigurationItem.Builder configurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status.
configurationItemStatus
- The configuration item status.ConfigurationItemStatus
,
ConfigurationItemStatus
ConfigurationItem.Builder configurationStateId(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.ConfigurationItem.Builder configurationItemMD5Hash(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.
ConfigurationItem.Builder arn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.ConfigurationItem.Builder resourceType(String resourceType)
The type of AWS resource.
resourceType
- The type of AWS resource.ResourceType
,
ResourceType
ConfigurationItem.Builder resourceType(ResourceType resourceType)
The type of AWS resource.
resourceType
- The type of AWS resource.ResourceType
,
ResourceType
ConfigurationItem.Builder resourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx
).
resourceId
- The ID of the resource (for example., sg-xxxxxx
).ConfigurationItem.Builder resourceName(String resourceName)
The custom name of the resource, if available.
resourceName
- The custom name of the resource, if available.ConfigurationItem.Builder awsRegion(String awsRegion)
The region where the resource resides.
awsRegion
- The region where the resource resides.ConfigurationItem.Builder availabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
availabilityZone
- The Availability Zone associated with the resource.ConfigurationItem.Builder resourceCreationTime(Instant resourceCreationTime)
The time stamp when the resource was created.
resourceCreationTime
- The time stamp when the resource was created.ConfigurationItem.Builder tags(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.ConfigurationItem.Builder relatedEvents(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.
ConfigurationItem.Builder relatedEvents(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.
ConfigurationItem.Builder relationships(Collection<Relationship> relationships)
A list of related AWS resources.
relationships
- A list of related AWS resources.ConfigurationItem.Builder relationships(Relationship... relationships)
A list of related AWS resources.
relationships
- A list of related AWS resources.ConfigurationItem.Builder relationships(Consumer<Relationship.Builder>... relationships)
A list of related AWS resources.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #relationships(List)
.relationships
- a consumer that will call methods on List.Builder
#relationships(List)
ConfigurationItem.Builder configuration(String configuration)
The description of the resource configuration.
configuration
- The description of the resource configuration.ConfigurationItem.Builder supplementaryConfiguration(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.