public static interface ListTargetsResponse.Builder extends CodestarNotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListTargetsResponse.Builder,ListTargetsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListTargetsResponse.Builder |
nextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of results.
|
ListTargetsResponse.Builder |
targets(Collection<TargetSummary> targets)
The list of notification rule targets.
|
ListTargetsResponse.Builder |
targets(Consumer<TargetSummary.Builder>... targets)
The list of notification rule targets.
|
ListTargetsResponse.Builder |
targets(TargetSummary... targets)
The list of notification rule targets.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListTargetsResponse.Builder targets(Collection<TargetSummary> targets)
The list of notification rule targets.
targets - The list of notification rule targets.ListTargetsResponse.Builder targets(TargetSummary... targets)
The list of notification rule targets.
targets - The list of notification rule targets.ListTargetsResponse.Builder targets(Consumer<TargetSummary.Builder>... targets)
The list of notification rule targets.
This is a convenience method that creates an instance of theTargetSummary.Builder avoiding the need
to create one manually via
TargetSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #targets(List.
targets - a consumer that will call methods on
TargetSummary.Builder#targets(java.util.Collection) ListTargetsResponse.Builder nextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of results.
nextToken - An enumeration token that can be used in a request to return the next batch of results.Copyright © 2023. All rights reserved.