@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSecurityProfilePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSecurityProfilePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
ListSecurityProfilePermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
List<String> |
getPermissions()
The permissions granted to the security profile.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setPermissions(Collection<String> permissions)
The permissions granted to the security profile.
|
String |
toString()
Returns a string representation of this object.
|
ListSecurityProfilePermissionsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
ListSecurityProfilePermissionsResult |
withPermissions(Collection<String> permissions)
The permissions granted to the security profile.
|
ListSecurityProfilePermissionsResult |
withPermissions(String... permissions)
The permissions granted to the security profile.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListSecurityProfilePermissionsResult()
public List<String> getPermissions()
The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.
public void setPermissions(Collection<String> permissions)
The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.
permissions
- The permissions granted to the security profile. For a complete list of valid permissions, see List of security
profile permissions.public ListSecurityProfilePermissionsResult withPermissions(String... permissions)
The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection)
or withPermissions(java.util.Collection)
if you want to
override the existing values.
permissions
- The permissions granted to the security profile. For a complete list of valid permissions, see List of security
profile permissions.public ListSecurityProfilePermissionsResult withPermissions(Collection<String> permissions)
The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.
permissions
- The permissions granted to the security profile. For a complete list of valid permissions, see List of security
profile permissions.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public ListSecurityProfilePermissionsResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListSecurityProfilePermissionsResult clone()