Interface GetHookResultResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<GetHookResultResponse.Builder,,GetHookResultResponse> SdkBuilder<GetHookResultResponse.Builder,,GetHookResultResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetHookResultResponse
-
Method Summary
Modifier and TypeMethodDescriptionannotations(Collection<Annotation> annotations) A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.annotations(Consumer<Annotation.Builder>... annotations) A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.annotations(Annotation... annotations) A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.failureMode(String failureMode) The failure mode of the invocation.failureMode(HookFailureMode failureMode) The failure mode of the invocation.hookResultId(String hookResultId) The unique identifier of the Hook result.hookStatusReason(String hookStatusReason) A message that provides additional details about the Hook invocation status.invocationPoint(String invocationPoint) The specific point in the provisioning process where the Hook is invoked.invocationPoint(HookInvocationPoint invocationPoint) The specific point in the provisioning process where the Hook is invoked.The timestamp when the Hook was invoked.originalTypeName(String originalTypeName) The original public type name of the Hook when an alias is used.The status of the Hook invocation.status(HookStatus status) The status of the Hook invocation.default GetHookResultResponse.Buildertarget(Consumer<HookTarget.Builder> target) Information about the target of the Hook invocation.target(HookTarget target) Information about the target of the Hook invocation.The Amazon Resource Name (ARN) of the Hook.typeConfigurationVersionId(String typeConfigurationVersionId) The version identifier of the Hook configuration data that was used during invocation.The name of the Hook that was invoked.typeVersionId(String typeVersionId) The version identifier of the Hook that was invoked.Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hookResultId
The unique identifier of the Hook result.
- Parameters:
hookResultId- The unique identifier of the Hook result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationPoint
The specific point in the provisioning process where the Hook is invoked.
- Parameters:
invocationPoint- The specific point in the provisioning process where the Hook is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invocationPoint
The specific point in the provisioning process where the Hook is invoked.
- Parameters:
invocationPoint- The specific point in the provisioning process where the Hook is invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMode
The failure mode of the invocation.
- Parameters:
failureMode- The failure mode of the invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMode
The failure mode of the invocation.
- Parameters:
failureMode- The failure mode of the invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
typeName
The name of the Hook that was invoked.
- Parameters:
typeName- The name of the Hook that was invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originalTypeName
The original public type name of the Hook when an alias is used.
For example, if you activate
AWS::Hooks::GuardHookwith aliasMyCompany::Custom::GuardHook, thenTypeNamewill beMyCompany::Custom::GuardHookandOriginalTypeNamewill beAWS::Hooks::GuardHook.- Parameters:
originalTypeName- The original public type name of the Hook when an alias is used.For example, if you activate
AWS::Hooks::GuardHookwith aliasMyCompany::Custom::GuardHook, thenTypeNamewill beMyCompany::Custom::GuardHookandOriginalTypeNamewill beAWS::Hooks::GuardHook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeVersionId
The version identifier of the Hook that was invoked.
- Parameters:
typeVersionId- The version identifier of the Hook that was invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeConfigurationVersionId
The version identifier of the Hook configuration data that was used during invocation.
- Parameters:
typeConfigurationVersionId- The version identifier of the Hook configuration data that was used during invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeArn
The Amazon Resource Name (ARN) of the Hook.
- Parameters:
typeArn- The Amazon Resource Name (ARN) of the Hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
hookStatusReason
A message that provides additional details about the Hook invocation status.
- Parameters:
hookStatusReason- A message that provides additional details about the Hook invocation status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokedAt
The timestamp when the Hook was invoked.
- Parameters:
invokedAt- The timestamp when the Hook was invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Information about the target of the Hook invocation.
- Parameters:
target- Information about the target of the Hook invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Information about the target of the Hook invocation.
This is a convenience method that creates an instance of theHookTarget.Builderavoiding the need to create one manually viaHookTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(HookTarget).- Parameters:
target- a consumer that will call methods onHookTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
annotations
A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.
- Parameters:
annotations- A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.
- Parameters:
annotations- A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
A list of objects with additional information and guidance that can help you resolve a failed Hook invocation.
This is a convenience method that creates an instance of theAnnotation.Builderavoiding the need to create one manually viaAnnotation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toannotations(List<Annotation>).- Parameters:
annotations- a consumer that will call methods onAnnotation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-