@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetGroupInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about a target group in Elastic Load Balancing to use in a deployment. Instances are registered as targets in a target group, and traffic is routed to the target group.
Constructor and Description |
---|
TargetGroupInfo() |
Modifier and Type | Method and Description |
---|---|
TargetGroupInfo |
clone() |
boolean |
equals(Object obj) |
String |
getName()
For blue/green deployments, the name of the target group that instances in the original environment are
deregistered from, and instances in the replacement environment are registered with.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
For blue/green deployments, the name of the target group that instances in the original environment are
deregistered from, and instances in the replacement environment are registered with.
|
String |
toString()
Returns a string representation of this object.
|
TargetGroupInfo |
withName(String name)
For blue/green deployments, the name of the target group that instances in the original environment are
deregistered from, and instances in the replacement environment are registered with.
|
public void setName(String name)
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
name
- For blue/green deployments, the name of the target group that instances in the original environment are
deregistered from, and instances in the replacement environment are registered with. For in-place
deployments, the name of the target group that instances are deregistered from, so they are not serving
traffic during a deployment, and then re-registered with after the deployment is complete.public String getName()
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
public TargetGroupInfo withName(String name)
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
name
- For blue/green deployments, the name of the target group that instances in the original environment are
deregistered from, and instances in the replacement environment are registered with. For in-place
deployments, the name of the target group that instances are deregistered from, so they are not serving
traffic during a deployment, and then re-registered with after the deployment is complete.public String toString()
toString
in class Object
Object.toString()
public TargetGroupInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.