Interface ListHookResultsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<ListHookResultsResponse.Builder,ListHookResultsResponse>,SdkBuilder<ListHookResultsResponse.Builder,ListHookResultsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListHookResultsResponse
public static interface ListHookResultsResponse.Builder extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<ListHookResultsResponse.Builder,ListHookResultsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListHookResultsResponse.BuilderhookResults(Collection<HookResultSummary> hookResults)A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.ListHookResultsResponse.BuilderhookResults(Consumer<HookResultSummary.Builder>... hookResults)A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.ListHookResultsResponse.BuilderhookResults(HookResultSummary... hookResults)A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.ListHookResultsResponse.BuildernextToken(String nextToken)Pagination token,nullor empty if no more results.ListHookResultsResponse.BuildertargetId(String targetId)The logical ID of the target the operation is acting on by the Hook.ListHookResultsResponse.BuildertargetType(String targetType)The type of operation being targeted by the Hook.ListHookResultsResponse.BuildertargetType(ListHookResultsTargetType targetType)The type of operation being targeted by the Hook.-
Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
targetType
ListHookResultsResponse.Builder targetType(String targetType)
The type of operation being targeted by the Hook.
- Parameters:
targetType- The type of operation being targeted by the Hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ListHookResultsTargetType,ListHookResultsTargetType
-
targetType
ListHookResultsResponse.Builder targetType(ListHookResultsTargetType targetType)
The type of operation being targeted by the Hook.
- Parameters:
targetType- The type of operation being targeted by the Hook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ListHookResultsTargetType,ListHookResultsTargetType
-
targetId
ListHookResultsResponse.Builder targetId(String targetId)
The logical ID of the target the operation is acting on by the Hook. If the target is a change set, it's the ARN of the change set.
If the target is a Cloud Control API operation, this will be the
HooksRequestTokenreturned by the Cloud Control API operation request. For more information on theHooksRequestToken, see ProgressEvent.- Parameters:
targetId- The logical ID of the target the operation is acting on by the Hook. If the target is a change set, it's the ARN of the change set.If the target is a Cloud Control API operation, this will be the
HooksRequestTokenreturned by the Cloud Control API operation request. For more information on theHooksRequestToken, see ProgressEvent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hookResults
ListHookResultsResponse.Builder hookResults(Collection<HookResultSummary> hookResults)
A list of
HookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.- Parameters:
hookResults- A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hookResults
ListHookResultsResponse.Builder hookResults(HookResultSummary... hookResults)
A list of
HookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.- Parameters:
hookResults- A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hookResults
ListHookResultsResponse.Builder hookResults(Consumer<HookResultSummary.Builder>... hookResults)
A list of
This is a convenience method that creates an instance of theHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.HookResultSummary.Builderavoiding the need to create one manually viaHookResultSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hookResults(List.) - Parameters:
hookResults- a consumer that will call methods onHookResultSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hookResults(java.util.Collection)
-
nextToken
ListHookResultsResponse.Builder nextToken(String nextToken)
Pagination token,
nullor empty if no more results.- Parameters:
nextToken- Pagination token,nullor empty if no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-