Interface DescribeEventDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEventDetailsResponse.Builder,,DescribeEventDetailsResponse> HealthResponse.Builder,SdkBuilder<DescribeEventDetailsResponse.Builder,,DescribeEventDetailsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEventDetailsResponse
@Mutable
@NotThreadSafe
public static interface DescribeEventDetailsResponse.Builder
extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventDetailsResponse.Builder,DescribeEventDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedSet(Collection<EventDetailsErrorItem> failedSet) Error messages for any events that could not be retrieved.failedSet(Consumer<EventDetailsErrorItem.Builder>... failedSet) Error messages for any events that could not be retrieved.failedSet(EventDetailsErrorItem... failedSet) Error messages for any events that could not be retrieved.successfulSet(Collection<EventDetails> successfulSet) Information about the events that could be retrieved.successfulSet(Consumer<EventDetails.Builder>... successfulSet) Information about the events that could be retrieved.successfulSet(EventDetails... successfulSet) Information about the events that could be retrieved.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.health.model.HealthResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
successfulSet
Information about the events that could be retrieved.
- Parameters:
successfulSet- Information about the events that could be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulSet
Information about the events that could be retrieved.
- Parameters:
successfulSet- Information about the events that could be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulSet
Information about the events that could be retrieved.
This is a convenience method that creates an instance of theEventDetails.Builderavoiding the need to create one manually viaEventDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulSet(List<EventDetails>).- Parameters:
successfulSet- a consumer that will call methods onEventDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedSet
Error messages for any events that could not be retrieved.
- Parameters:
failedSet- Error messages for any events that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedSet
Error messages for any events that could not be retrieved.
- Parameters:
failedSet- Error messages for any events that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedSet
DescribeEventDetailsResponse.Builder failedSet(Consumer<EventDetailsErrorItem.Builder>... failedSet) Error messages for any events that could not be retrieved.
This is a convenience method that creates an instance of theEventDetailsErrorItem.Builderavoiding the need to create one manually viaEventDetailsErrorItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedSet(List<EventDetailsErrorItem>).- Parameters:
failedSet- a consumer that will call methods onEventDetailsErrorItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-