Class HookResultSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HookResultSummary.Builder,HookResultSummary>
Describes a Hook invocation, its status, and the reason for its status.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HookResultSummary.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final HookFailureModeThe failure mode of the invocation.final StringThe failure mode of the invocation.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringA description of the Hook results status.final HookInvocationPointThe exact point in the provisioning logic where the Hook runs.final StringThe exact point in the provisioning logic where the Hook runs.static Class<? extends HookResultSummary.Builder> final HookStatusstatus()The state of the Hook invocation.final StringThe state of the Hook invocation.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe version of the Hook type configuration.final StringtypeName()The type name of the Hook being invoked.final StringThe version of the Hook being invoked.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
invocationPoint
The exact point in the provisioning logic where the Hook runs.
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 exact point in the provisioning logic where the Hook runs.
- See Also:
-
invocationPointAsString
The exact point in the provisioning logic where the Hook runs.
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 exact point in the provisioning logic where the Hook runs.
- See Also:
-
failureMode
The failure mode of the invocation. The following are potential modes:
-
FAIL: If the hook invocation returns a failure, then the requested target operation should fail. -
WARN: If the hook invocation returns a failure, then the requested target operation should warn.
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. The following are potential modes:
-
FAIL: If the hook invocation returns a failure, then the requested target operation should fail. -
WARN: If the hook invocation returns a failure, then the requested target operation should warn.
-
- See Also:
-
-
failureModeAsString
The failure mode of the invocation. The following are potential modes:
-
FAIL: If the hook invocation returns a failure, then the requested target operation should fail. -
WARN: If the hook invocation returns a failure, then the requested target operation should warn.
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. The following are potential modes:
-
FAIL: If the hook invocation returns a failure, then the requested target operation should fail. -
WARN: If the hook invocation returns a failure, then the requested target operation should warn.
-
- See Also:
-
-
typeName
The type name of the Hook being invoked.
- Returns:
- The type name of the Hook being invoked.
-
typeVersionId
The version of the Hook being invoked.
- Returns:
- The version of the Hook being invoked.
-
typeConfigurationVersionId
The version of the Hook type configuration.
- Returns:
- The version of the Hook type configuration.
-
status
The state of the Hook invocation.
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 state of the Hook invocation.
- See Also:
-
statusAsString
The state of the Hook invocation.
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 state of the Hook invocation.
- See Also:
-
hookStatusReason
A description of the Hook results status. For example, if the Hook result is in a
FAILEDstate, this may contain additional information for theFAILEDstate.- Returns:
- A description of the Hook results status. For example, if the Hook result is in a
FAILEDstate, this may contain additional information for theFAILEDstate.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<HookResultSummary.Builder,HookResultSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-