Interface BaseConfigurationItem.Builder

  • 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

      BaseConfigurationItem.Builder accountId(String 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

      BaseConfigurationItem.Builder configurationItemCaptureTime(Instant 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

      BaseConfigurationItem.Builder configurationItemStatus(String 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

      BaseConfigurationItem.Builder configurationItemStatus(ConfigurationItemStatus 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

      BaseConfigurationItem.Builder configurationStateId(String 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.
    • arn

      The Amazon Resource Name (ARN) of the resource.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      BaseConfigurationItem.Builder resourceType(String 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

      BaseConfigurationItem.Builder resourceType(ResourceType 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

      BaseConfigurationItem.Builder resourceId(String 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

      BaseConfigurationItem.Builder resourceName(String 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

      BaseConfigurationItem.Builder awsRegion(String 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

      BaseConfigurationItem.Builder availabilityZone(String 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

      BaseConfigurationItem.Builder resourceCreationTime(Instant 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.
    • configuration

      BaseConfigurationItem.Builder configuration(String 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

      BaseConfigurationItem.Builder supplementaryConfiguration(Map<String,String> 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 the configuration parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recordingFrequency

      BaseConfigurationItem.Builder recordingFrequency(String 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

      BaseConfigurationItem.Builder recordingFrequency(RecordingFrequency 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

      BaseConfigurationItem.Builder configurationItemDeliveryTime(Instant 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.