@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 registered with.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 registered with.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 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 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 completes.
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 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 completes.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 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 completes.
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 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 completes.
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 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 completes.public String toString()
toString
in class Object
Object.toString()
public TargetGroupInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.