Class OperationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.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>
Provides summary information for an operation that occurred on an App Runner service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOperationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationSummary.Builderbuilder()InstantendedAt()The time when the operation ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A unique ID of this operation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OperationSummary.Builder>serializableBuilderClass()InstantstartedAt()The time when the operation started.OperationStatusstatus()The current state of the operation.StringstatusAsString()The current state of the operation.StringtargetArn()The Amazon Resource Name (ARN) of the resource that the operation acted on (for example, an App Runner service).OperationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.OperationTypetype()The type of operation.StringtypeAsString()The type of operation.InstantupdatedAt()The time when the operation was last updated.-
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()
A unique ID of this operation. It's unique in the scope of the App Runner service.
- Returns:
- A unique ID of this operation. It's unique in the scope of the App Runner service.
-
type
public final OperationType type()
The type of operation. It indicates a specific action that occured.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of operation. It indicates a specific action that occured.
- See Also:
OperationType
-
typeAsString
public final String typeAsString()
The type of operation. It indicates a specific action that occured.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of operation. It indicates a specific action that occured.
- See Also:
OperationType
-
status
public final OperationStatus status()
The current state of the operation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the operation.
- See Also:
OperationStatus
-
statusAsString
public final String statusAsString()
The current state of the operation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the operation.
- See Also:
OperationStatus
-
targetArn
public final String targetArn()
The Amazon Resource Name (ARN) of the resource that the operation acted on (for example, an App Runner service).
- Returns:
- The Amazon Resource Name (ARN) of the resource that the operation acted on (for example, an App Runner service).
-
startedAt
public final Instant startedAt()
The time when the operation started. It's in the Unix time stamp format.
- Returns:
- The time when the operation started. It's in the Unix time stamp format.
-
endedAt
public final Instant endedAt()
The time when the operation ended. It's in the Unix time stamp format.
- Returns:
- The time when the operation ended. It's in the Unix time stamp format.
-
updatedAt
public final Instant updatedAt()
The time when the operation was last updated. It's in the Unix time stamp format.
- Returns:
- The time when the operation was last updated. It's in the Unix time stamp format.
-
toBuilder
public OperationSummary.Builder toBuilder()
- Specified by:
toBuilderin 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-