Interface DescribeEventDetailsForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEventDetailsForOrganizationResponse.Builder,
,DescribeEventDetailsForOrganizationResponse> HealthResponse.Builder
,SdkBuilder<DescribeEventDetailsForOrganizationResponse.Builder,
,DescribeEventDetailsForOrganizationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEventDetailsForOrganizationResponse
public static interface DescribeEventDetailsForOrganizationResponse.Builder
extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventDetailsForOrganizationResponse.Builder,DescribeEventDetailsForOrganizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedSet
(Collection<OrganizationEventDetailsErrorItem> failedSet) Error messages for any events that could not be retrieved.failedSet
(Consumer<OrganizationEventDetailsErrorItem.Builder>... failedSet) Error messages for any events that could not be retrieved.failedSet
(OrganizationEventDetailsErrorItem... failedSet) Error messages for any events that could not be retrieved.successfulSet
(Collection<OrganizationEventDetails> successfulSet) Information about the events that could be retrieved.successfulSet
(Consumer<OrganizationEventDetails.Builder>... successfulSet) Information about the events that could be retrieved.successfulSet
(OrganizationEventDetails... successfulSet) Information about the events that could be retrieved.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.health.model.HealthResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successfulSet
DescribeEventDetailsForOrganizationResponse.Builder successfulSet(Collection<OrganizationEventDetails> 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
DescribeEventDetailsForOrganizationResponse.Builder successfulSet(OrganizationEventDetails... 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
DescribeEventDetailsForOrganizationResponse.Builder successfulSet(Consumer<OrganizationEventDetails.Builder>... successfulSet) Information about the events that could be retrieved.
This is a convenience method that creates an instance of theOrganizationEventDetails.Builder
avoiding the need to create one manually viaOrganizationEventDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessfulSet(List<OrganizationEventDetails>)
.- Parameters:
successfulSet
- a consumer that will call methods onOrganizationEventDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedSet
DescribeEventDetailsForOrganizationResponse.Builder failedSet(Collection<OrganizationEventDetailsErrorItem> 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
DescribeEventDetailsForOrganizationResponse.Builder failedSet(OrganizationEventDetailsErrorItem... 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
DescribeEventDetailsForOrganizationResponse.Builder failedSet(Consumer<OrganizationEventDetailsErrorItem.Builder>... failedSet) Error messages for any events that could not be retrieved.
This is a convenience method that creates an instance of theOrganizationEventDetailsErrorItem.Builder
avoiding the need to create one manually viaOrganizationEventDetailsErrorItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedSet(List<OrganizationEventDetailsErrorItem>)
.- Parameters:
failedSet
- a consumer that will call methods onOrganizationEventDetailsErrorItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-