Class ConfigurationRecorderStatus
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.ConfigurationRecorderStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfigurationRecorderStatus.Builder,ConfigurationRecorderStatus>
@Generated("software.amazon.awssdk:codegen") public final class ConfigurationRecorderStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfigurationRecorderStatus.Builder,ConfigurationRecorderStatus>
The current status of the configuration recorder.
For a detailed status of recording events over time, add your Config events to CloudWatch metrics and use CloudWatch metrics.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigurationRecorderStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationRecorderStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastErrorCode()The latest error code from when the recorder last failed.StringlastErrorMessage()The latest error message from when the recorder last failed.InstantlastStartTime()The time the recorder was last started.RecorderStatuslastStatus()The status of the latest recording event processed by the recorder.StringlastStatusAsString()The status of the latest recording event processed by the recorder.InstantlastStatusChangeTime()The time of the latest change in status of an recording event processed by the recorder.InstantlastStopTime()The time the recorder was last stopped.Stringname()The name of the configuration recorder.Booleanrecording()Specifies whether or not the recorder is currently recording.List<SdkField<?>>sdkFields()static Class<? extends ConfigurationRecorderStatus.Builder>serializableBuilderClass()ConfigurationRecorderStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the configuration recorder.
- Returns:
- The name of the configuration recorder.
-
lastStartTime
public final Instant lastStartTime()
The time the recorder was last started.
- Returns:
- The time the recorder was last started.
-
lastStopTime
public final Instant lastStopTime()
The time the recorder was last stopped.
- Returns:
- The time the recorder was last stopped.
-
recording
public final Boolean recording()
Specifies whether or not the recorder is currently recording.
- Returns:
- Specifies whether or not the recorder is currently recording.
-
lastStatus
public final RecorderStatus lastStatus()
The status of the latest recording event processed by the recorder.
If the service returns an enum value that is not available in the current SDK version,
lastStatuswill returnRecorderStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastStatusAsString().- Returns:
- The status of the latest recording event processed by the recorder.
- See Also:
RecorderStatus
-
lastStatusAsString
public final String lastStatusAsString()
The status of the latest recording event processed by the recorder.
If the service returns an enum value that is not available in the current SDK version,
lastStatuswill returnRecorderStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastStatusAsString().- Returns:
- The status of the latest recording event processed by the recorder.
- See Also:
RecorderStatus
-
lastErrorCode
public final String lastErrorCode()
The latest error code from when the recorder last failed.
- Returns:
- The latest error code from when the recorder last failed.
-
lastErrorMessage
public final String lastErrorMessage()
The latest error message from when the recorder last failed.
- Returns:
- The latest error message from when the recorder last failed.
-
lastStatusChangeTime
public final Instant lastStatusChangeTime()
The time of the latest change in status of an recording event processed by the recorder.
- Returns:
- The time of the latest change in status of an recording event processed by the recorder.
-
toBuilder
public ConfigurationRecorderStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfigurationRecorderStatus.Builder,ConfigurationRecorderStatus>
-
builder
public static ConfigurationRecorderStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfigurationRecorderStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-