@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPermissionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPermissionResult() |
Modifier and Type | Method and Description |
---|---|
GetPermissionResult |
clone() |
boolean |
equals(Object obj) |
ResourceSharePermissionDetail |
getPermission()
An object with details about the permission.
|
int |
hashCode() |
void |
setPermission(ResourceSharePermissionDetail permission)
An object with details about the permission.
|
String |
toString()
Returns a string representation of this object.
|
GetPermissionResult |
withPermission(ResourceSharePermissionDetail permission)
An object with details about the permission.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPermission(ResourceSharePermissionDetail permission)
An object with details about the permission.
permission
- An object with details about the permission.public ResourceSharePermissionDetail getPermission()
An object with details about the permission.
public GetPermissionResult withPermission(ResourceSharePermissionDetail permission)
An object with details about the permission.
permission
- An object with details about the permission.public String toString()
toString
in class Object
Object.toString()
public GetPermissionResult clone()