@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 |
getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
|
Date |
getLastModifiedTime()
The timestamp when this resource was last modified.
|
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 |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
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 |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
ListSecurityProfilePermissionsResult |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
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 void setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public Date getLastModifiedTime()
The timestamp when this resource was last modified.
public ListSecurityProfilePermissionsResult withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
public ListSecurityProfilePermissionsResult withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String toString()
toString
in class Object
Object.toString()
public ListSecurityProfilePermissionsResult clone()