CopyableBuilder<RegisterTargetsRequest.Builder,RegisterTargetsRequest>
, SdkBuilder<RegisterTargetsRequest.Builder,RegisterTargetsRequest>
public static interface RegisterTargetsRequest.Builder extends CopyableBuilder<RegisterTargetsRequest.Builder,RegisterTargetsRequest>
Modifier and Type | Method | Description |
---|---|---|
RegisterTargetsRequest.Builder |
targetGroupArn(String targetGroupArn) |
The Amazon Resource Name (ARN) of the target group.
|
RegisterTargetsRequest.Builder |
targets(Collection<TargetDescription> targets) |
The targets.
|
RegisterTargetsRequest.Builder |
targets(TargetDescription... targets) |
The targets.
|
copy
apply, build
RegisterTargetsRequest.Builder targetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.RegisterTargetsRequest.Builder targets(Collection<TargetDescription> targets)
The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port.
targets
- The targets. The default port for a target is the port for the target group. You can specify a port
override. If a target is already registered, you can register it again using a different port.RegisterTargetsRequest.Builder targets(TargetDescription... targets)
The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port.
NOTE: This method appends the values to the existing list (if any). Use
#setTargets(java.util.Collection)
or #withTargets(java.util.Collection)
if you want to
override the existing values.
targets
- The targets. The default port for a target is the port for the target group. You can specify a port
override. If a target is already registered, you can register it again using a different port.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.