Class ResourceResult
- java.lang.Object
-
- software.amazon.awssdk.services.route53recoveryreadiness.model.ResourceResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceResult.Builder,ResourceResult>
@Generated("software.amazon.awssdk:codegen") public final class ResourceResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceResult.Builder,ResourceResult>
The result of a successful Resource request, with status for an individual resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceResult.Builderbuilder()StringcomponentId()The component id of the resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastCheckedTimestamp()The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.Readinessreadiness()The readiness of a resource.StringreadinessAsString()The readiness of a resource.StringresourceArn()The Amazon Resource Name (ARN) of the resource.List<SdkField<?>>sdkFields()static Class<? extends ResourceResult.Builder>serializableBuilderClass()ResourceResult.BuildertoBuilder()StringtoString()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
-
componentId
public final String componentId()
The component id of the resource.
- Returns:
- The component id of the resource.
-
lastCheckedTimestamp
public final Instant lastCheckedTimestamp()
The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
- Returns:
- The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.
-
readiness
public final Readiness readiness()
The readiness of a resource.
If the service returns an enum value that is not available in the current SDK version,
readinesswill returnReadiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreadinessAsString().- Returns:
- The readiness of a resource.
- See Also:
Readiness
-
readinessAsString
public final String readinessAsString()
The readiness of a resource.
If the service returns an enum value that is not available in the current SDK version,
readinesswill returnReadiness.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreadinessAsString().- Returns:
- The readiness of a resource.
- See Also:
Readiness
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the resource.
- Returns:
- The Amazon Resource Name (ARN) of the resource.
-
toBuilder
public ResourceResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceResult.Builder,ResourceResult>
-
builder
public static ResourceResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceResult.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.
-
-