Class ListRulesPackagesResult
- java.lang.Object
-
- com.amazonaws.services.inspector.model.ListRulesPackagesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListRulesPackagesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListRulesPackagesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRulesPackagesResultclone()booleanequals(Object obj)StringgetNextToken()When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request.List<String>getRulesPackageArns()The list of ARNs that specifies the rules packages returned by the action.inthashCode()voidsetNextToken(String nextToken)When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request.voidsetRulesPackageArns(Collection<String> rulesPackageArns)The list of ARNs that specifies the rules packages returned by the action.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListRulesPackagesResultwithNextToken(String nextToken)When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request.ListRulesPackagesResultwithRulesPackageArns(String... rulesPackageArns)The list of ARNs that specifies the rules packages returned by the action.ListRulesPackagesResultwithRulesPackageArns(Collection<String> rulesPackageArns)The list of ARNs that specifies the rules packages returned by the action.
-
-
-
Method Detail
-
getRulesPackageArns
public List<String> getRulesPackageArns()
The list of ARNs that specifies the rules packages returned by the action.
- Returns:
- The list of ARNs that specifies the rules packages returned by the action.
-
setRulesPackageArns
public void setRulesPackageArns(Collection<String> rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the action.
- Parameters:
rulesPackageArns- The list of ARNs that specifies the rules packages returned by the action.
-
withRulesPackageArns
public ListRulesPackagesResult withRulesPackageArns(String... rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the action.
NOTE: This method appends the values to the existing list (if any). Use
setRulesPackageArns(java.util.Collection)orwithRulesPackageArns(java.util.Collection)if you want to override the existing values.- Parameters:
rulesPackageArns- The list of ARNs that specifies the rules packages returned by the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRulesPackageArns
public ListRulesPackagesResult withRulesPackageArns(Collection<String> rulesPackageArns)
The list of ARNs that specifies the rules packages returned by the action.
- Parameters:
rulesPackageArns- The list of ARNs that specifies the rules packages returned by the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
- Parameters:
nextToken- When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
-
getNextToken
public String getNextToken()
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
- Returns:
- When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
-
withNextToken
public ListRulesPackagesResult withNextToken(String nextToken)
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
- Parameters:
nextToken- When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListRulesPackagesResult clone()
-
-