@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable
Information about an action.
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
Action |
clone() |
boolean |
equals(Object obj) |
String |
getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
String |
getType()
The type of action.
|
int |
hashCode() |
void |
setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
void |
setType(ActionTypeEnum type)
The type of action.
|
void |
setType(String type)
The type of action.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Action |
withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
Action |
withType(ActionTypeEnum type)
The type of action.
|
Action |
withType(String type)
The type of action.
|
public void setType(String type)
The type of action.
type
- The type of action.ActionTypeEnum
public String getType()
The type of action.
ActionTypeEnum
public Action withType(String type)
The type of action.
type
- The type of action.ActionTypeEnum
public void setType(ActionTypeEnum type)
The type of action.
type
- The type of action.ActionTypeEnum
public Action withType(ActionTypeEnum type)
The type of action.
type
- The type of action.ActionTypeEnum
public void setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.public String getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group.
public Action withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.