Interface DescribeDeliverySourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchLogsResponse.Builder
,CopyableBuilder<DescribeDeliverySourcesResponse.Builder,
,DescribeDeliverySourcesResponse> SdkBuilder<DescribeDeliverySourcesResponse.Builder,
,DescribeDeliverySourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDeliverySourcesResponse
public static interface DescribeDeliverySourcesResponse.Builder
extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDeliverySourcesResponse.Builder,DescribeDeliverySourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeliverySources
(Collection<DeliverySource> deliverySources) An array of structures.deliverySources
(Consumer<DeliverySource.Builder>... deliverySources) An array of structures.deliverySources
(DeliverySource... deliverySources) 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
-
deliverySources
An array of structures. Each structure contains information about one delivery source in the account.
- Parameters:
deliverySources
- An array of structures. Each structure contains information about one delivery source in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliverySources
An array of structures. Each structure contains information about one delivery source in the account.
- Parameters:
deliverySources
- An array of structures. Each structure contains information about one delivery source in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliverySources
DescribeDeliverySourcesResponse.Builder deliverySources(Consumer<DeliverySource.Builder>... deliverySources) An array of structures. Each structure contains information about one delivery source in the account.
This is a convenience method that creates an instance of theDeliverySource.Builder
avoiding the need to create one manually viaDeliverySource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliverySources(List<DeliverySource>)
.- Parameters:
deliverySources
- a consumer that will call methods onDeliverySource.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.
-