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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
targetType
Filters results by target type. Currently, only
CHANGE_SET
andCLOUD_CONTROL
are supported filter options.Required when
TargetId
is specified and cannot be used otherwise.- Parameters:
targetType
- Filters results by target type. Currently, onlyCHANGE_SET
andCLOUD_CONTROL
are supported filter options.Required when
TargetId
is 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_SET
andCLOUD_CONTROL
are supported filter options.Required when
TargetId
is specified and cannot be used otherwise.- Parameters:
targetType
- Filters results by target type. Currently, onlyCHANGE_SET
andCLOUD_CONTROL
are supported filter options.Required when
TargetId
is 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
HookRequestToken
returned by the Cloud Control API request. For more information on theHookRequestToken
, see ProgressEvent.Required when
TargetType
is 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
HookRequestToken
returned by the Cloud Control API request. For more information on theHookRequestToken
, see ProgressEvent.Required when
TargetType
is 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-