@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetGroupsConfig extends Object implements Serializable, Cloneable
Describes the target groups to attach to a Spot fleet. Spot fleet registers the running Spot instances with these target groups.
| Constructor and Description | 
|---|
TargetGroupsConfig()  | 
| Modifier and Type | Method and Description | 
|---|---|
TargetGroupsConfig | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<TargetGroup> | 
getTargetGroups()
 One or more target groups. 
 | 
int | 
hashCode()  | 
void | 
setTargetGroups(Collection<TargetGroup> targetGroups)
 One or more target groups. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
TargetGroupsConfig | 
withTargetGroups(Collection<TargetGroup> targetGroups)
 One or more target groups. 
 | 
TargetGroupsConfig | 
withTargetGroups(TargetGroup... targetGroups)
 One or more target groups. 
 | 
public List<TargetGroup> getTargetGroups()
One or more target groups.
public void setTargetGroups(Collection<TargetGroup> targetGroups)
One or more target groups.
targetGroups - One or more target groups.public TargetGroupsConfig withTargetGroups(TargetGroup... targetGroups)
One or more target groups.
 NOTE: This method appends the values to the existing list (if any). Use
 setTargetGroups(java.util.Collection) or withTargetGroups(java.util.Collection) if you want to
 override the existing values.
 
targetGroups - One or more target groups.public TargetGroupsConfig withTargetGroups(Collection<TargetGroup> targetGroups)
One or more target groups.
targetGroups - One or more target groups.public String toString()
toString in class ObjectObject.toString()public TargetGroupsConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.