@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)
Marshalls this structured data using the given
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.Permission
public String getPermission()
Permission
public ResourceAccessPolicy withPermission(String permission)
permission
- The function's access permission to the resource.Permission
public ResourceAccessPolicy withPermission(Permission permission)
permission
- The function's access permission to the resource.Permission
public 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 Object
Object.toString()
public ResourceAccessPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.