Interface ListLogSubscriptionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLogSubscriptionsResponse.Builder,ListLogSubscriptionsResponse>,DirectoryResponse.Builder,SdkBuilder<ListLogSubscriptionsResponse.Builder,ListLogSubscriptionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListLogSubscriptionsResponse
public static interface ListLogSubscriptionsResponse.Builder extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<ListLogSubscriptionsResponse.Builder,ListLogSubscriptionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLogSubscriptionsResponse.BuilderlogSubscriptions(Collection<LogSubscription> logSubscriptions)A list of active LogSubscription objects for calling the Amazon Web Services account.ListLogSubscriptionsResponse.BuilderlogSubscriptions(Consumer<LogSubscription.Builder>... logSubscriptions)A list of active LogSubscription objects for calling the Amazon Web Services account.ListLogSubscriptionsResponse.BuilderlogSubscriptions(LogSubscription... logSubscriptions)A list of active LogSubscription objects for calling the Amazon Web Services account.ListLogSubscriptionsResponse.BuildernextToken(String nextToken)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 Detail
-
logSubscriptions
ListLogSubscriptionsResponse.Builder logSubscriptions(Collection<LogSubscription> 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(LogSubscription... 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.Builderavoiding the need to create one manually viaLogSubscription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#logSubscriptions(List.) - 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:
#logSubscriptions(java.util.Collection)
-
nextToken
ListLogSubscriptionsResponse.Builder nextToken(String 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.
-
-