Class TargetGroupInfo
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.TargetGroupInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TargetGroupInfo.Builder,TargetGroupInfo>
@Generated("software.amazon.awssdk:codegen") public final class TargetGroupInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TargetGroupInfo.Builder,TargetGroupInfo>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTargetGroupInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetGroupInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends TargetGroupInfo.Builder>serializableBuilderClass()TargetGroupInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final 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.
- Returns:
- 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.
-
toBuilder
public TargetGroupInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TargetGroupInfo.Builder,TargetGroupInfo>
-
builder
public static TargetGroupInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends TargetGroupInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-