@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourcePermission extends Object implements Serializable, Cloneable, StructuredPojo
Resource permission for a dataset. When you create a dataset, all the other members of the same user group inherit access to the dataset. You can only create a dataset if your user group has application permission for Create Datasets.
The following is a list of valid dataset permissions that you can apply:
ViewDatasetDetails
ReadDatasetDetails
AddDatasetData
CreateSnapshot
EditDatasetMetadata
DeleteDataset
For more information on the dataset permissions, see Supported Dataset Permissions in the FinSpace User Guide.
Constructor and Description |
---|
ResourcePermission() |
Modifier and Type | Method and Description |
---|---|
ResourcePermission |
clone() |
boolean |
equals(Object obj) |
String |
getPermission()
Permission for a resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPermission(String permission)
Permission for a resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourcePermission |
withPermission(String permission)
Permission for a resource.
|
public void setPermission(String permission)
Permission for a resource.
permission
- Permission for a resource.public String getPermission()
Permission for a resource.
public ResourcePermission withPermission(String permission)
Permission for a resource.
permission
- Permission for a resource.public String toString()
toString
in class Object
Object.toString()
public ResourcePermission clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.