Interface ListHookResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<ListHookResultsResponse.Builder,,ListHookResultsResponse> SdkBuilder<ListHookResultsResponse.Builder,,ListHookResultsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListHookResultsResponse
@Mutable
@NotThreadSafe
public static interface ListHookResultsResponse.Builder
extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<ListHookResultsResponse.Builder,ListHookResultsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhookResults(Collection<HookResultSummary> hookResults) A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.hookResults(Consumer<HookResultSummary.Builder>... hookResults) A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.hookResults(HookResultSummary... hookResults) A list ofHookResultSummarystructures that provides the status and Hook status reason for each Hook invocation for the specified target.Pagination token,nullor empty if no more results.The unique identifier of the Hook invocation target.targetType(String targetType) The target type.targetType(ListHookResultsTargetType targetType) The target type.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
-
targetType
The target type.
- Parameters:
targetType- The target type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetType
The target type.
- Parameters:
targetType- The target type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetId
The unique identifier of the Hook invocation target.
- Parameters:
targetId- The unique identifier of the Hook invocation target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 tohookResults(List<HookResultSummary>).- 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:
-
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.
-