@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSecurityProfilesForTargetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSecurityProfilesForTargetResult() |
Modifier and Type | Method and Description |
---|---|
ListSecurityProfilesForTargetResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
List<SecurityProfileTargetMapping> |
getSecurityProfileTargetMappings()
A list of security profiles and their associated targets.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
void |
setSecurityProfileTargetMappings(Collection<SecurityProfileTargetMapping> securityProfileTargetMappings)
A list of security profiles and their associated targets.
|
String |
toString()
Returns a string representation of this object.
|
ListSecurityProfilesForTargetResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
ListSecurityProfilesForTargetResult |
withSecurityProfileTargetMappings(Collection<SecurityProfileTargetMapping> securityProfileTargetMappings)
A list of security profiles and their associated targets.
|
ListSecurityProfilesForTargetResult |
withSecurityProfileTargetMappings(SecurityProfileTargetMapping... securityProfileTargetMappings)
A list of security profiles and their associated targets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SecurityProfileTargetMapping> getSecurityProfileTargetMappings()
A list of security profiles and their associated targets.
public void setSecurityProfileTargetMappings(Collection<SecurityProfileTargetMapping> securityProfileTargetMappings)
A list of security profiles and their associated targets.
securityProfileTargetMappings
- A list of security profiles and their associated targets.public ListSecurityProfilesForTargetResult withSecurityProfileTargetMappings(SecurityProfileTargetMapping... securityProfileTargetMappings)
A list of security profiles and their associated targets.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityProfileTargetMappings(java.util.Collection)
or
withSecurityProfileTargetMappings(java.util.Collection)
if you want to override the existing values.
securityProfileTargetMappings
- A list of security profiles and their associated targets.public ListSecurityProfilesForTargetResult withSecurityProfileTargetMappings(Collection<SecurityProfileTargetMapping> securityProfileTargetMappings)
A list of security profiles and their associated targets.
securityProfileTargetMappings
- A list of security profiles and their associated targets.public void setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String getNextToken()
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
null
if there are no
additional results.public ListSecurityProfilesForTargetResult withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String toString()
toString
in class Object
Object.toString()
public ListSecurityProfilesForTargetResult clone()