@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.
public void setPermissions(Collection<String> permissions)
The permissions granted to the security profile.
permissions
- The permissions granted to the security profile.public ListSecurityProfilePermissionsResult withPermissions(String... permissions)
The permissions granted to the security profile.
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.public ListSecurityProfilePermissionsResult withPermissions(Collection<String> permissions)
The permissions granted to the security profile.
permissions
- The permissions granted to the security profile.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()