Class HookResultSummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.HookResultSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HookResultSummary.Builder,HookResultSummary>
@Generated("software.amazon.awssdk:codegen") public final class HookResultSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HookResultSummary.Builder,HookResultSummary>
A
ListHookResultscall returns a summary of a Hook invocation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHookResultSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HookResultSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)HookFailureModefailureMode()The failure mode of the invocation.StringfailureModeAsString()The failure mode of the invocation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhookExecutionTarget()The Amazon Resource Name (ARN) of the target stack or request token of the Cloud Control API operation.StringhookResultId()The unique identifier for this Hook invocation result.StringhookStatusReason()A description of the Hook results status.HookInvocationPointinvocationPoint()The specific point in the provisioning process where the Hook is invoked.StringinvocationPointAsString()The specific point in the provisioning process where the Hook is invoked.InstantinvokedAt()The timestamp when the Hook was invoked.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends HookResultSummary.Builder>serializableBuilderClass()HookStatusstatus()The status of the Hook invocation.StringstatusAsString()The status of the Hook invocation.StringtargetId()The unique identifier of the Hook invocation target.ListHookResultsTargetTypetargetType()The target type that the Hook was invoked against.StringtargetTypeAsString()The target type that the Hook was invoked against.HookResultSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtypeArn()The ARN of the Hook that was invoked.StringtypeConfigurationVersionId()The version of the Hook configuration.StringtypeName()The name of the Hook that was invoked.StringtypeVersionId()The version of the Hook that was invoked.-
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
-
hookResultId
public final String hookResultId()
The unique identifier for this Hook invocation result.
- Returns:
- The unique identifier for this Hook invocation result.
-
invocationPoint
public final HookInvocationPoint invocationPoint()
The specific point in the provisioning process where the Hook is invoked.
If the service returns an enum value that is not available in the current SDK version,
invocationPointwill returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvocationPointAsString().- Returns:
- The specific point in the provisioning process where the Hook is invoked.
- See Also:
HookInvocationPoint
-
invocationPointAsString
public final String invocationPointAsString()
The specific point in the provisioning process where the Hook is invoked.
If the service returns an enum value that is not available in the current SDK version,
invocationPointwill returnHookInvocationPoint.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvocationPointAsString().- Returns:
- The specific point in the provisioning process where the Hook is invoked.
- See Also:
HookInvocationPoint
-
failureMode
public final HookFailureMode failureMode()
The failure mode of the invocation.
If the service returns an enum value that is not available in the current SDK version,
failureModewill returnHookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureModeAsString().- Returns:
- The failure mode of the invocation.
- See Also:
HookFailureMode
-
failureModeAsString
public final String failureModeAsString()
The failure mode of the invocation.
If the service returns an enum value that is not available in the current SDK version,
failureModewill returnHookFailureMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureModeAsString().- Returns:
- The failure mode of the invocation.
- See Also:
HookFailureMode
-
typeName
public final String typeName()
The name of the Hook that was invoked.
- Returns:
- The name of the Hook that was invoked.
-
typeVersionId
public final String typeVersionId()
The version of the Hook that was invoked.
- Returns:
- The version of the Hook that was invoked.
-
typeConfigurationVersionId
public final String typeConfigurationVersionId()
The version of the Hook configuration.
- Returns:
- The version of the Hook configuration.
-
status
public final HookStatus status()
The status of the Hook invocation. The following statuses are possible:
-
HOOK_IN_PROGRESS: The Hook is currently running. -
HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully. -
HOOK_COMPLETE_FAILED: The Hook completed but failed validation. -
HOOK_FAILED: The Hook encountered an error during execution.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnHookStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the Hook invocation. The following statuses are possible:
-
HOOK_IN_PROGRESS: The Hook is currently running. -
HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully. -
HOOK_COMPLETE_FAILED: The Hook completed but failed validation. -
HOOK_FAILED: The Hook encountered an error during execution.
-
- See Also:
HookStatus
-
-
statusAsString
public final String statusAsString()
The status of the Hook invocation. The following statuses are possible:
-
HOOK_IN_PROGRESS: The Hook is currently running. -
HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully. -
HOOK_COMPLETE_FAILED: The Hook completed but failed validation. -
HOOK_FAILED: The Hook encountered an error during execution.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnHookStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the Hook invocation. The following statuses are possible:
-
HOOK_IN_PROGRESS: The Hook is currently running. -
HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully. -
HOOK_COMPLETE_FAILED: The Hook completed but failed validation. -
HOOK_FAILED: The Hook encountered an error during execution.
-
- See Also:
HookStatus
-
-
hookStatusReason
public final String hookStatusReason()
A description of the Hook results status. For example, if the Hook result is in a failed state, this may contain additional information for the failed state.
- Returns:
- A description of the Hook results status. For example, if the Hook result is in a failed state, this may contain additional information for the failed state.
-
invokedAt
public final Instant invokedAt()
The timestamp when the Hook was invoked.
Only shown in responses when the request does not specify
TargetTypeandTargetIdfilters.- Returns:
- The timestamp when the Hook was invoked.
Only shown in responses when the request does not specify
TargetTypeandTargetIdfilters.
-
targetType
public final ListHookResultsTargetType targetType()
The target type that the Hook was invoked against.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnListHookResultsTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The target type that the Hook was invoked against.
- See Also:
ListHookResultsTargetType
-
targetTypeAsString
public final String targetTypeAsString()
The target type that the Hook was invoked against.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnListHookResultsTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The target type that the Hook was invoked against.
- See Also:
ListHookResultsTargetType
-
targetId
public final String targetId()
The unique identifier of the Hook invocation target.
- Returns:
- The unique identifier of the Hook invocation target.
-
typeArn
public final String typeArn()
The ARN of the Hook that was invoked.
- Returns:
- The ARN of the Hook that was invoked.
-
hookExecutionTarget
public final String hookExecutionTarget()
The Amazon Resource Name (ARN) of the target stack or request token of the Cloud Control API operation.
Only shown in responses when the request does not specify
TargetTypeandTargetIdfilters.- Returns:
- The Amazon Resource Name (ARN) of the target stack or request token of the Cloud Control API
operation.
Only shown in responses when the request does not specify
TargetTypeandTargetIdfilters.
-
toBuilder
public HookResultSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HookResultSummary.Builder,HookResultSummary>
-
builder
public static HookResultSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends HookResultSummary.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
-
-