@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeActionTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeActionTargetsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeActionTargetsResult |
clone() |
boolean |
equals(Object obj) |
List<ActionTarget> |
getActionTargets()
A list of
ActionTarget objects. |
String |
getNextToken()
The pagination token to use to request the next page of results.
|
int |
hashCode() |
void |
setActionTargets(Collection<ActionTarget> actionTargets)
A list of
ActionTarget objects. |
void |
setNextToken(String nextToken)
The pagination token to use to request the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeActionTargetsResult |
withActionTargets(ActionTarget... actionTargets)
A list of
ActionTarget objects. |
DescribeActionTargetsResult |
withActionTargets(Collection<ActionTarget> actionTargets)
A list of
ActionTarget objects. |
DescribeActionTargetsResult |
withNextToken(String nextToken)
The pagination token to use to request the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ActionTarget> getActionTargets()
A list of ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.
ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.public void setActionTargets(Collection<ActionTarget> actionTargets)
A list of ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.
actionTargets - A list of ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.public DescribeActionTargetsResult withActionTargets(ActionTarget... actionTargets)
A list of ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.
NOTE: This method appends the values to the existing list (if any). Use
setActionTargets(java.util.Collection) or withActionTargets(java.util.Collection) if you want
to override the existing values.
actionTargets - A list of ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.public DescribeActionTargetsResult withActionTargets(Collection<ActionTarget> actionTargets)
A list of ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.
actionTargets - A list of ActionTarget objects. Each object includes the ActionTargetArn,
Description, and Name of a custom action target available in Security Hub.public void setNextToken(String nextToken)
The pagination token to use to request the next page of results.
nextToken - The pagination token to use to request the next page of results.public String getNextToken()
The pagination token to use to request the next page of results.
public DescribeActionTargetsResult withNextToken(String nextToken)
The pagination token to use to request the next page of results.
nextToken - The pagination token to use to request the next page of results.public String toString()
toString in class ObjectObject.toString()public DescribeActionTargetsResult clone()