Interface DescribeEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFormationResponse.Builder,CopyableBuilder<DescribeEventsResponse.Builder,,DescribeEventsResponse> SdkBuilder<DescribeEventsResponse.Builder,,DescribeEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEventsResponse
@Mutable
@NotThreadSafe
public static interface DescribeEventsResponse.Builder
extends CloudFormationResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf the request doesn't return all the remaining results,NextTokenis set to a token.operationEvents(Collection<OperationEvent> operationEvents) A list of operation events that match the specified criteria.operationEvents(Consumer<OperationEvent.Builder>... operationEvents) A list of operation events that match the specified criteria.operationEvents(OperationEvent... operationEvents) A list of operation events that match the specified criteria.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
-
operationEvents
A list of operation events that match the specified criteria.
- Parameters:
operationEvents- A list of operation events that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationEvents
A list of operation events that match the specified criteria.
- Parameters:
operationEvents- A list of operation events that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationEvents
A list of operation events that match the specified criteria.
This is a convenience method that creates an instance of theOperationEvent.Builderavoiding the need to create one manually viaOperationEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperationEvents(List<OperationEvent>).- Parameters:
operationEvents- a consumer that will call methods onOperationEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the request doesn't return all the remaining results,
NextTokenis set to a token. To retrieve the next set of results, callDescribeEventsagain and assign that token to the request object'sNextTokenparameter. If the request returns all results,NextTokenis set tonull.- Parameters:
nextToken- If the request doesn't return all the remaining results,NextTokenis set to a token. To retrieve the next set of results, callDescribeEventsagain and assign that token to the request object'sNextTokenparameter. If the request returns all results,NextTokenis set tonull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-