@Generated(value="software.amazon.awssdk:codegen") public class ConfigurationRecorderStatus extends Object implements StructuredPojo, ToCopyableBuilder<ConfigurationRecorderStatus.Builder,ConfigurationRecorderStatus>
The current status of the configuration recorder.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfigurationRecorderStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationRecorderStatus.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastErrorCode()
The error code indicating that the recording failed.
|
String |
lastErrorMessage()
The message indicating that the recording failed due to an error.
|
Instant |
lastStartTime()
The time the recorder was last started.
|
RecorderStatus |
lastStatus()
The last (previous) status of the recorder.
|
String |
lastStatusAsString()
The last (previous) status of the recorder.
|
Instant |
lastStatusChangeTime()
The time when the status was last changed.
|
Instant |
lastStopTime()
The time the recorder was last stopped.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
The name of the configuration recorder.
|
Boolean |
recording()
Specifies whether the recorder is currently recording or not.
|
static Class<? extends ConfigurationRecorderStatus.Builder> |
serializableBuilderClass() |
ConfigurationRecorderStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String name()
The name of the configuration recorder.
public Instant lastStartTime()
The time the recorder was last started.
public Instant lastStopTime()
The time the recorder was last stopped.
public Boolean recording()
Specifies whether the recorder is currently recording or not.
public RecorderStatus lastStatus()
The last (previous) status of the recorder.
If the service returns an enum value that is not available in the current SDK version, lastStatus will
return RecorderStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
lastStatusAsString().
RecorderStatuspublic String lastStatusAsString()
The last (previous) status of the recorder.
If the service returns an enum value that is not available in the current SDK version, lastStatus will
return RecorderStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
lastStatusAsString().
RecorderStatuspublic String lastErrorCode()
The error code indicating that the recording failed.
public String lastErrorMessage()
The message indicating that the recording failed due to an error.
public Instant lastStatusChangeTime()
The time when the status was last changed.
public ConfigurationRecorderStatus.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ConfigurationRecorderStatus.Builder,ConfigurationRecorderStatus>public static ConfigurationRecorderStatus.Builder builder()
public static Class<? extends ConfigurationRecorderStatus.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.