Interface ListLogSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLogSubscriptionsResponse.Builder,
,ListLogSubscriptionsResponse> DirectoryResponse.Builder
,SdkBuilder<ListLogSubscriptionsResponse.Builder,
,ListLogSubscriptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLogSubscriptionsResponse
@Mutable
@NotThreadSafe
public static interface ListLogSubscriptionsResponse.Builder
extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<ListLogSubscriptionsResponse.Builder,ListLogSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlogSubscriptions
(Collection<LogSubscription> logSubscriptions) A list of active LogSubscription objects for calling the Amazon Web Services account.logSubscriptions
(Consumer<LogSubscription.Builder>... logSubscriptions) A list of active LogSubscription objects for calling the Amazon Web Services account.logSubscriptions
(LogSubscription... logSubscriptions) A list of active LogSubscription objects for calling the Amazon Web Services account.The token for the next set of items to return.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
logSubscriptions
A list of active LogSubscription objects for calling the Amazon Web Services account.
- Parameters:
logSubscriptions
- A list of active LogSubscription objects for calling the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSubscriptions
A list of active LogSubscription objects for calling the Amazon Web Services account.
- Parameters:
logSubscriptions
- A list of active LogSubscription objects for calling the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSubscriptions
ListLogSubscriptionsResponse.Builder logSubscriptions(Consumer<LogSubscription.Builder>... logSubscriptions) A list of active LogSubscription objects for calling the Amazon Web Services account.
This is a convenience method that creates an instance of theLogSubscription.Builder
avoiding the need to create one manually viaLogSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologSubscriptions(List<LogSubscription>)
.- Parameters:
logSubscriptions
- a consumer that will call methods onLogSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of items to return.
- Parameters:
nextToken
- The token for the next set of items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-