@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Target extends Object implements Serializable, Cloneable, StructuredPojo
Describes a target.
| Constructor and Description |
|---|
Target() |
| Modifier and Type | Method and Description |
|---|---|
Target |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the target.
|
Integer |
getPort()
The port on which the target is listening.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setId(String id)
The ID of the target.
|
void |
setPort(Integer port)
The port on which the target is listening.
|
String |
toString()
Returns a string representation of this object.
|
Target |
withId(String id)
The ID of the target.
|
Target |
withPort(Integer port)
The port on which the target is listening.
|
public void setId(String id)
The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If
the target type is IP , this is an IP address. If the target type is LAMBDA, this is
the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load
Balancer.
id - The ID of the target. If the target type of the target group is INSTANCE, this is an instance
ID. If the target type is IP , this is an IP address. If the target type is
LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this
is the ARN of the Application Load Balancer.public String getId()
The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If
the target type is IP , this is an IP address. If the target type is LAMBDA, this is
the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load
Balancer.
INSTANCE, this is an
instance ID. If the target type is IP , this is an IP address. If the target type is
LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this
is the ARN of the Application Load Balancer.public Target withId(String id)
The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If
the target type is IP , this is an IP address. If the target type is LAMBDA, this is
the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load
Balancer.
id - The ID of the target. If the target type of the target group is INSTANCE, this is an instance
ID. If the target type is IP , this is an IP address. If the target type is
LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this
is the ARN of the Application Load Balancer.public void setPort(Integer port)
The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is
443.
port - The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the
default is 443.public Integer getPort()
The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is
443.
80. For HTTPS, the
default is 443.public Target withPort(Integer port)
The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is
443.
port - The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the
default is 443.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.