@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 token that is required for pagination.
|
int |
hashCode() |
void |
setActionTargets(Collection<ActionTarget> actionTargets)
A list of
ActionTarget objects. |
void |
setNextToken(String nextToken)
The token that is required for pagination.
|
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 token that is required for pagination.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 token that is required for pagination.
nextToken
- The token that is required for pagination.public String getNextToken()
The token that is required for pagination.
public DescribeActionTargetsResult withNextToken(String nextToken)
The token that is required for pagination.
nextToken
- The token that is required for pagination.public String toString()
toString
in class Object
Object.toString()
public DescribeActionTargetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.