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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDestinationsResponse.Builderdestinations(Collection<Destination> destinations)The destinations.DescribeDestinationsResponse.Builderdestinations(Consumer<Destination.Builder>... destinations)The destinations.DescribeDestinationsResponse.Builderdestinations(Destination... destinations)The destinations.DescribeDestinationsResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
destinations
DescribeDestinationsResponse.Builder destinations(Collection<Destination> destinations)
The destinations.
- Parameters:
destinations- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
DescribeDestinationsResponse.Builder destinations(Destination... destinations)
The destinations.
- Parameters:
destinations- The destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
DescribeDestinationsResponse.Builder destinations(Consumer<Destination.Builder>... 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 to#destinations(List.) - 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:
#destinations(java.util.Collection)
-
nextToken
DescribeDestinationsResponse.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.
-
-