public static interface ConfigurationItem.Builder extends SdkPojo, CopyableBuilder<ConfigurationItem.Builder,ConfigurationItem>
| Modifier and Type | Method and Description |
|---|---|
ConfigurationItem.Builder |
accountId(String accountId)
The 12-digit Amazon Web Services account ID associated with the resource.
|
ConfigurationItem.Builder |
arn(String arn)
Amazon Resource Name (ARN) associated with 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 Amazon Web Services resources.
|
ConfigurationItem.Builder |
relationships(Consumer<Relationship.Builder>... relationships)
A list of related Amazon Web Services resources.
|
ConfigurationItem.Builder |
relationships(Relationship... relationships)
A list of related Amazon Web Services 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 Amazon Web Services resource.
|
ConfigurationItem.Builder |
resourceType(String resourceType)
The type of Amazon Web Services resource.
|
ConfigurationItem.Builder |
supplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConfigurationItem.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 Amazon Web Services account ID associated with the resource.
accountId - The 12-digit Amazon Web Services 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. The valid values are:
OK – The resource configuration has been updated
ResourceDiscovered – The resource was newly discovered
ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
ResourceDeleted – The resource was deleted
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type
configurationItemStatus - The configuration item status. The valid values are:
OK – The resource configuration has been updated
ResourceDiscovered – The resource was newly discovered
ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
ResourceDeleted – The resource was deleted
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type
ConfigurationItemStatus,
ConfigurationItemStatusConfigurationItem.Builder configurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status. The valid values are:
OK – The resource configuration has been updated
ResourceDiscovered – The resource was newly discovered
ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
ResourceDeleted – The resource was deleted
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type
configurationItemStatus - The configuration item status. The valid values are:
OK – The resource configuration has been updated
ResourceDiscovered – The resource was newly discovered
ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type
ResourceDeleted – The resource was deleted
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type
ConfigurationItemStatus,
ConfigurationItemStatusConfigurationItem.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)
Amazon Resource Name (ARN) associated with the resource.
arn - Amazon Resource Name (ARN) associated with the resource.ConfigurationItem.Builder resourceType(String resourceType)
The type of Amazon Web Services resource.
resourceType - The type of Amazon Web Services resource.ResourceType,
ResourceTypeConfigurationItem.Builder resourceType(ResourceType resourceType)
The type of Amazon Web Services resource.
resourceType - The type of Amazon Web Services resource.ResourceType,
ResourceTypeConfigurationItem.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 CloudTrail.
An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the CloudTrail API Reference to retrieve the events for the resource.
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 CloudTrail.
An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the CloudTrail API Reference to retrieve the events for the resource.
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 CloudTrail.
An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the CloudTrail API Reference to retrieve the events for the resource.
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 CloudTrail.
An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the CloudTrail API Reference to retrieve the events for the resource.
ConfigurationItem.Builder relationships(Collection<Relationship> relationships)
A list of related Amazon Web Services resources.
relationships - A list of related Amazon Web Services resources.ConfigurationItem.Builder relationships(Relationship... relationships)
A list of related Amazon Web Services resources.
relationships - A list of related Amazon Web Services resources.ConfigurationItem.Builder relationships(Consumer<Relationship.Builder>... relationships)
A list of related Amazon Web Services resources.
This is a convenience method that creates an instance of theRelationship.Builder avoiding the need to create one
manually via Relationship.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #relationships(List.
relationships - a consumer that will call methods on
Relationship.Builder#relationships(java.util.Collection) 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 Config returns for certain resource types to supplement the information
returned for the configuration parameter.
supplementaryConfiguration - Configuration attributes that Config returns for certain resource types to supplement the information
returned for the configuration parameter.Copyright © 2023. All rights reserved.