@Generated(value="software.amazon.awssdk:codegen") public final class ConfigurationRecorderStatus extends Object implements SdkPojo, Serializable, 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.
|
String |
name()
The name of the configuration recorder.
|
Boolean |
recording()
Specifies whether or not the recorder is currently recording.
|
List<SdkField<?>> |
sdkFields() |
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() |
copy
public 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 or not the recorder is currently recording.
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()
.
RecorderStatus
public 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()
.
RecorderStatus
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConfigurationRecorderStatus.Builder,ConfigurationRecorderStatus>
public static ConfigurationRecorderStatus.Builder builder()
public static Class<? extends ConfigurationRecorderStatus.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.