@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BaseConfigurationItem extends Object implements Serializable, Cloneable, StructuredPojo
The detailed configuration of a specified resource.
Constructor and Description |
---|
BaseConfigurationItem() |
Modifier and Type | Method and Description |
---|---|
BaseConfigurationItem |
addSupplementaryConfigurationEntry(String key,
String value)
Add a single SupplementaryConfiguration entry
|
BaseConfigurationItem |
clearSupplementaryConfigurationEntries()
Removes all the entries added into SupplementaryConfiguration.
|
BaseConfigurationItem |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The 12-digit Amazon Web Services account ID associated with the resource.
|
String |
getArn()
The Amazon Resource Name (ARN) of the resource.
|
String |
getAvailabilityZone()
The Availability Zone associated with the resource.
|
String |
getAwsRegion()
The region where the resource resides.
|
String |
getConfiguration()
The description of the resource configuration.
|
Date |
getConfigurationItemCaptureTime()
The time when the configuration recording was initiated.
|
String |
getConfigurationItemStatus()
The configuration item status.
|
String |
getConfigurationStateId()
An identifier that indicates the ordering of the configuration items of a resource.
|
Date |
getResourceCreationTime()
The time stamp when the resource was created.
|
String |
getResourceId()
The ID of the resource (for example., sg-xxxxxx).
|
String |
getResourceName()
The custom name of the resource, if available.
|
String |
getResourceType()
The type of Amazon Web Services resource.
|
Map<String,String> |
getSupplementaryConfiguration()
Configuration attributes that Config returns for certain resource types to supplement the information returned
for the configuration parameter.
|
String |
getVersion()
The version number of the resource configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The 12-digit Amazon Web Services account ID associated with the resource.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
|
void |
setAwsRegion(String awsRegion)
The region where the resource resides.
|
void |
setConfiguration(String configuration)
The description of the resource configuration.
|
void |
setConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
|
void |
setConfigurationItemStatus(String configurationItemStatus)
The configuration item status.
|
void |
setConfigurationStateId(String configurationStateId)
An identifier that indicates the ordering of the configuration items of a resource.
|
void |
setResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
|
void |
setResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
|
void |
setResourceName(String resourceName)
The custom name of the resource, if available.
|
void |
setResourceType(String resourceType)
The type of Amazon Web Services resource.
|
void |
setSupplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that Config returns for certain resource types to supplement the information returned
for the configuration parameter.
|
void |
setVersion(String version)
The version number of the resource configuration.
|
String |
toString()
Returns a string representation of this object.
|
BaseConfigurationItem |
withAccountId(String accountId)
The 12-digit Amazon Web Services account ID associated with the resource.
|
BaseConfigurationItem |
withArn(String arn)
The Amazon Resource Name (ARN) of the resource.
|
BaseConfigurationItem |
withAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
|
BaseConfigurationItem |
withAwsRegion(String awsRegion)
The region where the resource resides.
|
BaseConfigurationItem |
withConfiguration(String configuration)
The description of the resource configuration.
|
BaseConfigurationItem |
withConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
|
BaseConfigurationItem |
withConfigurationItemStatus(ConfigurationItemStatus configurationItemStatus)
The configuration item status.
|
BaseConfigurationItem |
withConfigurationItemStatus(String configurationItemStatus)
The configuration item status.
|
BaseConfigurationItem |
withConfigurationStateId(String configurationStateId)
An identifier that indicates the ordering of the configuration items of a resource.
|
BaseConfigurationItem |
withResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
|
BaseConfigurationItem |
withResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
|
BaseConfigurationItem |
withResourceName(String resourceName)
The custom name of the resource, if available.
|
BaseConfigurationItem |
withResourceType(ResourceType resourceType)
The type of Amazon Web Services resource.
|
BaseConfigurationItem |
withResourceType(String resourceType)
The type of Amazon Web Services resource.
|
BaseConfigurationItem |
withSupplementaryConfiguration(Map<String,String> supplementaryConfiguration)
Configuration attributes that Config returns for certain resource types to supplement the information returned
for the configuration parameter.
|
BaseConfigurationItem |
withVersion(String version)
The version number of the resource configuration.
|
public void setVersion(String version)
The version number of the resource configuration.
version
- The version number of the resource configuration.public String getVersion()
The version number of the resource configuration.
public BaseConfigurationItem withVersion(String version)
The version number of the resource configuration.
version
- The version number of the resource configuration.public void setAccountId(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.public String getAccountId()
The 12-digit Amazon Web Services account ID associated with the resource.
public BaseConfigurationItem withAccountId(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.public void setConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
configurationItemCaptureTime
- The time when the configuration recording was initiated.public Date getConfigurationItemCaptureTime()
The time when the configuration recording was initiated.
public BaseConfigurationItem withConfigurationItemCaptureTime(Date configurationItemCaptureTime)
The time when the configuration recording was initiated.
configurationItemCaptureTime
- The time when the configuration recording was initiated.public void setConfigurationItemStatus(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
The CIs do not incur any cost.
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
The CIs do not incur any cost.
ConfigurationItemStatus
public String getConfigurationItemStatus()
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
The CIs do not incur any cost.
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
The CIs do not incur any cost.
ConfigurationItemStatus
public BaseConfigurationItem withConfigurationItemStatus(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
The CIs do not incur any cost.
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
The CIs do not incur any cost.
ConfigurationItemStatus
public BaseConfigurationItem withConfigurationItemStatus(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
The CIs do not incur any cost.
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
The CIs do not incur any cost.
ConfigurationItemStatus
public void setConfigurationStateId(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.public String getConfigurationStateId()
An identifier that indicates the ordering of the configuration items of a resource.
public BaseConfigurationItem withConfigurationStateId(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.public void setArn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.public String getArn()
The Amazon Resource Name (ARN) of the resource.
public BaseConfigurationItem withArn(String arn)
The Amazon Resource Name (ARN) of the resource.
arn
- The Amazon Resource Name (ARN) of the resource.public void setResourceType(String resourceType)
The type of Amazon Web Services resource.
resourceType
- The type of Amazon Web Services resource.ResourceType
public String getResourceType()
The type of Amazon Web Services resource.
ResourceType
public BaseConfigurationItem withResourceType(String resourceType)
The type of Amazon Web Services resource.
resourceType
- The type of Amazon Web Services resource.ResourceType
public BaseConfigurationItem withResourceType(ResourceType resourceType)
The type of Amazon Web Services resource.
resourceType
- The type of Amazon Web Services resource.ResourceType
public void setResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
resourceId
- The ID of the resource (for example., sg-xxxxxx).public String getResourceId()
The ID of the resource (for example., sg-xxxxxx).
public BaseConfigurationItem withResourceId(String resourceId)
The ID of the resource (for example., sg-xxxxxx).
resourceId
- The ID of the resource (for example., sg-xxxxxx).public void setResourceName(String resourceName)
The custom name of the resource, if available.
resourceName
- The custom name of the resource, if available.public String getResourceName()
The custom name of the resource, if available.
public BaseConfigurationItem withResourceName(String resourceName)
The custom name of the resource, if available.
resourceName
- The custom name of the resource, if available.public void setAwsRegion(String awsRegion)
The region where the resource resides.
awsRegion
- The region where the resource resides.public String getAwsRegion()
The region where the resource resides.
public BaseConfigurationItem withAwsRegion(String awsRegion)
The region where the resource resides.
awsRegion
- The region where the resource resides.public void setAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
availabilityZone
- The Availability Zone associated with the resource.public String getAvailabilityZone()
The Availability Zone associated with the resource.
public BaseConfigurationItem withAvailabilityZone(String availabilityZone)
The Availability Zone associated with the resource.
availabilityZone
- The Availability Zone associated with the resource.public void setResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
resourceCreationTime
- The time stamp when the resource was created.public Date getResourceCreationTime()
The time stamp when the resource was created.
public BaseConfigurationItem withResourceCreationTime(Date resourceCreationTime)
The time stamp when the resource was created.
resourceCreationTime
- The time stamp when the resource was created.public void setConfiguration(String configuration)
The description of the resource configuration.
configuration
- The description of the resource configuration.public String getConfiguration()
The description of the resource configuration.
public BaseConfigurationItem withConfiguration(String configuration)
The description of the resource configuration.
configuration
- The description of the resource configuration.public Map<String,String> getSupplementaryConfiguration()
Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.
public void setSupplementaryConfiguration(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.public BaseConfigurationItem withSupplementaryConfiguration(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.public BaseConfigurationItem addSupplementaryConfigurationEntry(String key, String value)
public BaseConfigurationItem clearSupplementaryConfigurationEntries()
public String toString()
toString
in class Object
Object.toString()
public BaseConfigurationItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.