Interface DescribeDestinationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<DescribeDestinationsResponse.Builder,,DescribeDestinationsResponse> SdkBuilder<DescribeDestinationsResponse.Builder,,DescribeDestinationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDestinationsResponse
public static interface DescribeDestinationsResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDestinationsResponse.Builder,DescribeDestinationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondestinations(Collection<Destination> destinations) The destinations.destinations(Consumer<Destination.Builder>... destinations) The destinations.destinations(Destination... destinations) The destinations.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
destinations
The destinations.
- Parameters:
destinations- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations.
- Parameters:
destinations- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The destinations.
This is a convenience method that creates an instance of theDestination.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinations(List<Destination>).- Parameters:
destinations- a consumer that will call methods onDestination.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.
-