@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceAccessPolicy extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ResourceAccessPolicy() |
| Modifier and Type | Method and Description |
|---|---|
ResourceAccessPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPermission()
The function's access permission to the resource.
|
String |
getResourceId()
Id of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPermission(String permission)
The function's access permission to the resource.
|
void |
setResourceId(String resourceId)
Id of the resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceAccessPolicy |
withPermission(Permission permission)
The function's access permission to the resource.
|
ResourceAccessPolicy |
withPermission(String permission)
The function's access permission to the resource.
|
ResourceAccessPolicy |
withResourceId(String resourceId)
Id of the resource.
|
public void setPermission(String permission)
permission - The function's access permission to the resource.Permissionpublic String getPermission()
Permissionpublic ResourceAccessPolicy withPermission(String permission)
permission - The function's access permission to the resource.Permissionpublic ResourceAccessPolicy withPermission(Permission permission)
permission - The function's access permission to the resource.Permissionpublic void setResourceId(String resourceId)
resourceId - Id of the resource. A reference to the resource definiton.public String getResourceId()
public ResourceAccessPolicy withResourceId(String resourceId)
resourceId - Id of the resource. A reference to the resource definiton.public String toString()
toString in class ObjectObject.toString()public ResourceAccessPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.