Interface DescribeDeliveryDestinationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<DescribeDeliveryDestinationsResponse.Builder,
,DescribeDeliveryDestinationsResponse> SdkBuilder<DescribeDeliveryDestinationsResponse.Builder,
,DescribeDeliveryDestinationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDeliveryDestinationsResponse
public static interface DescribeDeliveryDestinationsResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDeliveryDestinationsResponse.Builder,DescribeDeliveryDestinationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeliveryDestinations
(Collection<DeliveryDestination> deliveryDestinations) An array of structures.deliveryDestinations
(Consumer<DeliveryDestination.Builder>... deliveryDestinations) An array of structures.deliveryDestinations
(DeliveryDestination... deliveryDestinations) An array of structures.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deliveryDestinations
DescribeDeliveryDestinationsResponse.Builder deliveryDestinations(Collection<DeliveryDestination> deliveryDestinations) An array of structures. Each structure contains information about one delivery destination in the account.
- Parameters:
deliveryDestinations
- An array of structures. Each structure contains information about one delivery destination in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryDestinations
DescribeDeliveryDestinationsResponse.Builder deliveryDestinations(DeliveryDestination... deliveryDestinations) An array of structures. Each structure contains information about one delivery destination in the account.
- Parameters:
deliveryDestinations
- An array of structures. Each structure contains information about one delivery destination in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryDestinations
DescribeDeliveryDestinationsResponse.Builder deliveryDestinations(Consumer<DeliveryDestination.Builder>... deliveryDestinations) An array of structures. Each structure contains information about one delivery destination in the account.
This is a convenience method that creates an instance of theDeliveryDestination.Builder
avoiding the need to create one manually viaDeliveryDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliveryDestinations(List<DeliveryDestination>)
.- Parameters:
deliveryDestinations
- a consumer that will call methods onDeliveryDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-