Interface ConfigurationItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigurationItem.Builder,
,ConfigurationItem> SdkBuilder<ConfigurationItem.Builder,
,ConfigurationItem> SdkPojo
- Enclosing class:
ConfigurationItem
-
Method Summary
Modifier and TypeMethodDescriptionThe 12-digit Amazon Web Services account ID associated with the resource.Amazon Resource Name (ARN) associated with the resource.availabilityZone
(String availabilityZone) The Availability Zone associated with the resource.The region where the resource resides.configuration
(String configuration) The description of the resource configuration.configurationItemCaptureTime
(Instant configurationItemCaptureTime) The time when the recording of configuration changes was initiated for the resource.configurationItemDeliveryTime
(Instant configurationItemDeliveryTime) The time when configuration changes for the resource were delivered.configurationItemMD5Hash
(String configurationItemMD5Hash) Unique MD5 hash that represents the configuration item's state.configurationItemStatus
(String configurationItemStatus) The configuration item status.configurationItemStatus
(ConfigurationItemStatus configurationItemStatus) The configuration item status.configurationStateId
(String configurationStateId) An identifier that indicates the ordering of the configuration items of a resource.recordingFrequency
(String recordingFrequency) The recording frequency that Config uses to record configuration changes for the resource.recordingFrequency
(RecordingFrequency recordingFrequency) The recording frequency that Config uses to record configuration changes for the resource.relatedEvents
(String... relatedEvents) A list of CloudTrail event IDs.relatedEvents
(Collection<String> relatedEvents) A list of CloudTrail event IDs.relationships
(Collection<Relationship> relationships) A list of related Amazon Web Services resources.relationships
(Consumer<Relationship.Builder>... relationships) A list of related Amazon Web Services resources.relationships
(Relationship... relationships) A list of related Amazon Web Services resources.resourceCreationTime
(Instant resourceCreationTime) The time stamp when the resource was created.resourceId
(String resourceId) The ID of the resource (for example,sg-xxxxxx
).resourceName
(String resourceName) The custom name of the resource, if available.resourceType
(String resourceType) The type of Amazon Web Services resource.resourceType
(ResourceType resourceType) The type of Amazon Web Services resource.supplementaryConfiguration
(Map<String, String> supplementaryConfiguration) Configuration attributes that Config returns for certain resource types to supplement the information returned for theconfiguration
parameter.A mapping of key value tags associated with the resource.The version number of the resource configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
version
The version number of the resource configuration.
- Parameters:
version
- The version number of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The 12-digit Amazon Web Services account ID associated with the resource.
- Parameters:
accountId
- The 12-digit Amazon Web Services account ID associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationItemCaptureTime
The time when the recording of configuration changes was initiated for the resource.
- Parameters:
configurationItemCaptureTime
- The time when the recording of configuration changes was initiated for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationItemStatus
The configuration item status. Valid values include:
-
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 doesn't record resources of this type
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder doesn't record resources of this type
- Parameters:
configurationItemStatus
- The configuration item status. Valid values include:-
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 doesn't record resources of this type
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder doesn't record resources of this type
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
configurationItemStatus
The configuration item status. Valid values include:
-
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 doesn't record resources of this type
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder doesn't record resources of this type
- Parameters:
configurationItemStatus
- The configuration item status. Valid values include:-
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 doesn't record resources of this type
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder doesn't record resources of this type
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
configurationStateId
An identifier that indicates the ordering of the configuration items of a resource.
- Parameters:
configurationStateId
- An identifier that indicates the ordering of the configuration items of a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Amazon Resource Name (ARN) associated with the resource.
- Parameters:
arn
- Amazon Resource Name (ARN) associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of Amazon Web Services resource.
- Parameters:
resourceType
- The type of Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of Amazon Web Services resource.
- Parameters:
resourceType
- The type of Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceId
The ID of the resource (for example,
sg-xxxxxx
).- Parameters:
resourceId
- The ID of the resource (for example,sg-xxxxxx
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
The custom name of the resource, if available.
- Parameters:
resourceName
- The custom name of the resource, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
The region where the resource resides.
- Parameters:
awsRegion
- The region where the resource resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone associated with the resource.
- Parameters:
availabilityZone
- The Availability Zone associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCreationTime
The time stamp when the resource was created.
- Parameters:
resourceCreationTime
- The time stamp when the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A mapping of key value tags associated with the resource.
- Parameters:
tags
- A mapping of key value tags associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationships
A list of related Amazon Web Services resources.
- Parameters:
relationships
- A list of related Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationships
A list of related Amazon Web Services resources.
- Parameters:
relationships
- A list of related Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRelationship.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torelationships(List<Relationship>)
.- Parameters:
relationships
- a consumer that will call methods onRelationship.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
The description of the resource configuration.
- Parameters:
configuration
- The description of the resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supplementaryConfiguration
Configuration attributes that Config returns for certain resource types to supplement the information returned for the
configuration
parameter.- Parameters:
supplementaryConfiguration
- Configuration attributes that Config returns for certain resource types to supplement the information returned for theconfiguration
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingFrequency
The recording frequency that Config uses to record configuration changes for the resource.
- Parameters:
recordingFrequency
- The recording frequency that Config uses to record configuration changes for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordingFrequency
The recording frequency that Config uses to record configuration changes for the resource.
- Parameters:
recordingFrequency
- The recording frequency that Config uses to record configuration changes for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationItemDeliveryTime
The time when configuration changes for the resource were delivered.
This field is optional and is not guaranteed to be present in a configuration item (CI). If you are using daily recording, this field will be populated. However, if you are using continuous recording, this field will be omitted since the delivery time is instantaneous as the CI is available right away. For more information on daily recording and continuous recording, see Recording Frequency in the Config Developer Guide.
- Parameters:
configurationItemDeliveryTime
- The time when configuration changes for the resource were delivered.This field is optional and is not guaranteed to be present in a configuration item (CI). If you are using daily recording, this field will be populated. However, if you are using continuous recording, this field will be omitted since the delivery time is instantaneous as the CI is available right away. For more information on daily recording and continuous recording, see Recording Frequency in the Config Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-