@Generated(value="software.amazon.awssdk:codegen") public final class ControlOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ControlOperation.Builder,ControlOperation>
An operation performed by the control.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ControlOperation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ControlOperation.Builder |
builder() |
Instant |
endTime()
The time that the operation finished.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ControlOperationType |
operationType()
One of
ENABLE_CONTROL or DISABLE_CONTROL. |
String |
operationTypeAsString()
One of
ENABLE_CONTROL or DISABLE_CONTROL. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ControlOperation.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time that the operation began.
|
ControlOperationStatus |
status()
One of
IN_PROGRESS, SUCEEDED, or FAILED. |
String |
statusAsString()
One of
IN_PROGRESS, SUCEEDED, or FAILED. |
String |
statusMessage()
If the operation result is
FAILED, this string contains a message explaining why the operation
failed. |
ControlOperation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant endTime()
The time that the operation finished.
public final ControlOperationType operationType()
One of ENABLE_CONTROL or DISABLE_CONTROL.
If the service returns an enum value that is not available in the current SDK version, operationType
will return ControlOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from operationTypeAsString().
ENABLE_CONTROL or DISABLE_CONTROL.ControlOperationTypepublic final String operationTypeAsString()
One of ENABLE_CONTROL or DISABLE_CONTROL.
If the service returns an enum value that is not available in the current SDK version, operationType
will return ControlOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from operationTypeAsString().
ENABLE_CONTROL or DISABLE_CONTROL.ControlOperationTypepublic final Instant startTime()
The time that the operation began.
public final ControlOperationStatus status()
One of IN_PROGRESS, SUCEEDED, or FAILED.
If the service returns an enum value that is not available in the current SDK version, status will
return ControlOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
IN_PROGRESS, SUCEEDED, or FAILED.ControlOperationStatuspublic final String statusAsString()
One of IN_PROGRESS, SUCEEDED, or FAILED.
If the service returns an enum value that is not available in the current SDK version, status will
return ControlOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
IN_PROGRESS, SUCEEDED, or FAILED.ControlOperationStatuspublic final String statusMessage()
If the operation result is FAILED, this string contains a message explaining why the operation
failed.
FAILED, this string contains a message explaining why the
operation failed.public ControlOperation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ControlOperation.Builder,ControlOperation>public static ControlOperation.Builder builder()
public static Class<? extends ControlOperation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.