Class OperationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.servicediscovery.model.OperationSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<OperationSummary.Builder,OperationSummary>
@Generated("software.amazon.awssdk:codegen") public final class OperationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OperationSummary.Builder,OperationSummary>
A complex type that contains information about an operation that matches the criteria that you specified in a ListOperations request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
OperationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationSummary.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
The ID for an operation.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends OperationSummary.Builder>
serializableBuilderClass()
OperationStatus
status()
The status of the operation.String
statusAsString()
The status of the operation.OperationSummary.Builder
toBuilder()
String
toString()
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
-
id
public final String id()
The ID for an operation.
- Returns:
- The ID for an operation.
-
status
public final OperationStatus status()
The status of the operation. Values include the following:
-
SUBMITTED: This is the initial state immediately after you submit a request.
-
PENDING: Cloud Map is performing the operation.
-
SUCCESS: The operation succeeded.
-
FAIL: The operation failed. For the failure reason, see
ErrorMessage
.
If the service returns an enum value that is not available in the current SDK version,
status
will returnOperationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the operation. Values include the following:
-
SUBMITTED: This is the initial state immediately after you submit a request.
-
PENDING: Cloud Map is performing the operation.
-
SUCCESS: The operation succeeded.
-
FAIL: The operation failed. For the failure reason, see
ErrorMessage
.
-
- See Also:
OperationStatus
-
-
statusAsString
public final String statusAsString()
The status of the operation. Values include the following:
-
SUBMITTED: This is the initial state immediately after you submit a request.
-
PENDING: Cloud Map is performing the operation.
-
SUCCESS: The operation succeeded.
-
FAIL: The operation failed. For the failure reason, see
ErrorMessage
.
If the service returns an enum value that is not available in the current SDK version,
status
will returnOperationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the operation. Values include the following:
-
SUBMITTED: This is the initial state immediately after you submit a request.
-
PENDING: Cloud Map is performing the operation.
-
SUCCESS: The operation succeeded.
-
FAIL: The operation failed. For the failure reason, see
ErrorMessage
.
-
- See Also:
OperationStatus
-
-
toBuilder
public OperationSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<OperationSummary.Builder,OperationSummary>
-
builder
public static OperationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends OperationSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-