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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDeliveryDestinationsResponse.BuilderdeliveryDestinations(Collection<DeliveryDestination> deliveryDestinations)An array of structures.DescribeDeliveryDestinationsResponse.BuilderdeliveryDestinations(Consumer<DeliveryDestination.Builder>... deliveryDestinations)An array of structures.DescribeDeliveryDestinationsResponse.BuilderdeliveryDestinations(DeliveryDestination... deliveryDestinations)An array of structures.DescribeDeliveryDestinationsResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaDeliveryDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deliveryDestinations(List.) - 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:
#deliveryDestinations(java.util.Collection)
-
nextToken
DescribeDeliveryDestinationsResponse.Builder nextToken(String 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.
-
-