Interface ListHookResultsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<ListHookResultsRequest.Builder,,ListHookResultsRequest> SdkBuilder<ListHookResultsRequest.Builder,,ListHookResultsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListHookResultsRequest
-
Method Summary
Modifier and TypeMethodDescriptionA string that identifies the next page of events that you want to retrieve.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Filters results by the status of Hook invocations.status(HookStatus status) Filters results by the status of Hook invocations.Filters results by the unique identifier of the target the Hook was invoked against.targetType(String targetType) Filters results by target type.targetType(ListHookResultsTargetType targetType) Filters results by target type.Filters results by the ARN of the Hook.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
targetType
Filters results by target type. Currently, only
CHANGE_SETandCLOUD_CONTROLare supported filter options.Required when
TargetIdis specified and cannot be used otherwise.- Parameters:
targetType- Filters results by target type. Currently, onlyCHANGE_SETandCLOUD_CONTROLare supported filter options.Required when
TargetIdis specified and cannot be used otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
Filters results by target type. Currently, only
CHANGE_SETandCLOUD_CONTROLare supported filter options.Required when
TargetIdis specified and cannot be used otherwise.- Parameters:
targetType- Filters results by target type. Currently, onlyCHANGE_SETandCLOUD_CONTROLare supported filter options.Required when
TargetIdis specified and cannot be used otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetId
Filters results by the unique identifier of the target the Hook was invoked against.
For change sets, this is the change set ARN. When the target is a Cloud Control API operation, this value must be the
HookRequestTokenreturned by the Cloud Control API request. For more information on theHookRequestToken, see ProgressEvent.Required when
TargetTypeis specified and cannot be used otherwise.- Parameters:
targetId- Filters results by the unique identifier of the target the Hook was invoked against.For change sets, this is the change set ARN. When the target is a Cloud Control API operation, this value must be the
HookRequestTokenreturned by the Cloud Control API request. For more information on theHookRequestToken, see ProgressEvent.Required when
TargetTypeis specified and cannot be used otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeArn
Filters results by the ARN of the Hook. Can be used alone or in combination with
Status.- Parameters:
typeArn- Filters results by the ARN of the Hook. Can be used alone or in combination withStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Filters results by the status of Hook invocations. Can only be used in combination with
TypeArn. Valid values are:-
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- Filters results by the status of Hook invocations. Can only be used in combination withTypeArn. Valid values are:-
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
Filters results by the status of Hook invocations. Can only be used in combination with
TypeArn. Valid values are:-
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- Filters results by the status of Hook invocations. Can only be used in combination withTypeArn. Valid values are:-
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:
-
-
nextToken
A string that identifies the next page of events that you want to retrieve.
- Parameters:
nextToken- A string that identifies the next page of events that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListHookResultsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListHookResultsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-