@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTargetGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateTargetGroupResult() |
Modifier and Type | Method and Description |
---|---|
CreateTargetGroupResult |
clone() |
boolean |
equals(Object obj) |
List<TargetGroup> |
getTargetGroups()
Information about the target group.
|
int |
hashCode() |
void |
setTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target group.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTargetGroupResult |
withTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target group.
|
CreateTargetGroupResult |
withTargetGroups(TargetGroup... targetGroups)
Information about the target group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TargetGroup> getTargetGroups()
Information about the target group.
public void setTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target group.
targetGroups
- Information about the target group.public CreateTargetGroupResult withTargetGroups(TargetGroup... targetGroups)
Information about the target group.
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
- Information about the target group.public CreateTargetGroupResult withTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target group.
targetGroups
- Information about the target group.public String toString()
toString
in class Object
Object.toString()
public CreateTargetGroupResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.