@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisLoadBalancerTarget extends Object implements Serializable, Cloneable
Describes a load balancer target.
Constructor and Description |
---|
AnalysisLoadBalancerTarget() |
Modifier and Type | Method and Description |
---|---|
AnalysisLoadBalancerTarget |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The IP address.
|
String |
getAvailabilityZone()
The Availability Zone.
|
AnalysisComponent |
getInstance()
Information about the instance.
|
Integer |
getPort()
The port on which the target is listening.
|
int |
hashCode() |
void |
setAddress(String address)
The IP address.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setInstance(AnalysisComponent instance)
Information about the instance.
|
void |
setPort(Integer port)
The port on which the target is listening.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisLoadBalancerTarget |
withAddress(String address)
The IP address.
|
AnalysisLoadBalancerTarget |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
AnalysisLoadBalancerTarget |
withInstance(AnalysisComponent instance)
Information about the instance.
|
AnalysisLoadBalancerTarget |
withPort(Integer port)
The port on which the target is listening.
|
public void setAddress(String address)
The IP address.
address
- The IP address.public String getAddress()
The IP address.
public AnalysisLoadBalancerTarget withAddress(String address)
The IP address.
address
- The IP address.public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public AnalysisLoadBalancerTarget withAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public void setInstance(AnalysisComponent instance)
Information about the instance.
instance
- Information about the instance.public AnalysisComponent getInstance()
Information about the instance.
public AnalysisLoadBalancerTarget withInstance(AnalysisComponent instance)
Information about the instance.
instance
- Information about the instance.public void setPort(Integer port)
The port on which the target is listening.
port
- The port on which the target is listening.public Integer getPort()
The port on which the target is listening.
public AnalysisLoadBalancerTarget withPort(Integer port)
The port on which the target is listening.
port
- The port on which the target is listening.public String toString()
toString
in class Object
Object.toString()
public AnalysisLoadBalancerTarget clone()