public static final class LoadBalancerTargetProps.Builder
extends java.lang.Object
LoadBalancerTargetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerTargetProps |
build()
Builds the configured instance.
|
LoadBalancerTargetProps.Builder |
targetJson(java.lang.Object targetJson)
Sets the value of
LoadBalancerTargetProps.getTargetJson() |
LoadBalancerTargetProps.Builder |
targetType(TargetType targetType)
Sets the value of
LoadBalancerTargetProps.getTargetType() |
public LoadBalancerTargetProps.Builder targetType(TargetType targetType)
LoadBalancerTargetProps.getTargetType()
targetType
- What kind of target this is. This parameter is required.this
public LoadBalancerTargetProps.Builder targetJson(java.lang.Object targetJson)
LoadBalancerTargetProps.getTargetJson()
targetJson
- JSON representing the target's direct addition to the TargetGroup list.
May be omitted if the target is going to register itself later.this
public LoadBalancerTargetProps build()
LoadBalancerTargetProps
java.lang.NullPointerException
- if any required attribute was not provided