Interface ListTargetsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTargetsRequest.Builder,ListTargetsRequest>,SdkBuilder<ListTargetsRequest.Builder,ListTargetsRequest>,SdkPojo,SdkRequest.Builder,VpcLatticeRequest.Builder
- Enclosing class:
- ListTargetsRequest
public static interface ListTargetsRequest.Builder extends VpcLatticeRequest.Builder, SdkPojo, CopyableBuilder<ListTargetsRequest.Builder,ListTargetsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTargetsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return.ListTargetsRequest.BuildernextToken(String nextToken)A pagination token for the next page of results.ListTargetsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTargetsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListTargetsRequest.BuildertargetGroupIdentifier(String targetGroupIdentifier)The ID or Amazon Resource Name (ARN) of the target group.ListTargetsRequest.Buildertargets(Collection<Target> targets)The targets to list.ListTargetsRequest.Buildertargets(Consumer<Target.Builder>... targets)The targets to list.ListTargetsRequest.Buildertargets(Target... targets)The targets to list.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.vpclattice.model.VpcLatticeRequest.Builder
build
-
-
-
-
Method Detail
-
maxResults
ListTargetsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return.
- Parameters:
maxResults- The maximum number of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListTargetsRequest.Builder nextToken(String nextToken)
A pagination token for the next page of results.
- Parameters:
nextToken- A pagination token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroupIdentifier
ListTargetsRequest.Builder targetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
- Parameters:
targetGroupIdentifier- The ID or Amazon Resource Name (ARN) of the target group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
ListTargetsRequest.Builder targets(Collection<Target> targets)
The targets to list.
- Parameters:
targets- The targets to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
ListTargetsRequest.Builder targets(Target... targets)
The targets to list.
- Parameters:
targets- The targets to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
ListTargetsRequest.Builder targets(Consumer<Target.Builder>... targets)
The targets to list.
This is a convenience method that creates an instance of theTarget.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targets(List.) - Parameters:
targets- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targets(java.util.Collection)
-
overrideConfiguration
ListTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-