public static interface ListTargetsRequest.Builder extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<ListTargetsRequest.Builder,ListTargetsRequest>
| Modifier and Type | Method and Description |
|---|---|
ListTargetsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return.
|
ListTargetsRequest.Builder |
nextToken(String nextToken)
A pagination token for the next page of results.
|
ListTargetsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListTargetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListTargetsRequest.Builder |
targetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
|
ListTargetsRequest.Builder |
targets(Collection<Target> targets)
The targets to list.
|
ListTargetsRequest.Builder |
targets(Consumer<Target.Builder>... targets)
The targets to list.
|
ListTargetsRequest.Builder |
targets(Target... targets)
The targets to list.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListTargetsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return.
maxResults - The maximum number of results to return.ListTargetsRequest.Builder nextToken(String nextToken)
A pagination token for the next page of results.
nextToken - A pagination token for the next page of results.ListTargetsRequest.Builder targetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
targetGroupIdentifier - The ID or Amazon Resource Name (ARN) of the target group.ListTargetsRequest.Builder targets(Collection<Target> targets)
The targets to list.
targets - The targets to list.ListTargetsRequest.Builder targets(Target... targets)
The targets to list.
targets - The targets to list.ListTargetsRequest.Builder targets(Consumer<Target.Builder>... targets)
The targets to list.
This is a convenience method that creates an instance of theTarget.Builder avoiding the need to create one
manually via Target.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
Target.Builder#targets(java.util.Collection) ListTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.