@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LinkSharingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the configuration of a shareable link to the dashboard.
Constructor and Description |
---|
LinkSharingConfiguration() |
Modifier and Type | Method and Description |
---|---|
LinkSharingConfiguration |
clone() |
boolean |
equals(Object obj) |
List<ResourcePermission> |
getPermissions()
A structure that contains the permissions of a shareable link.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions of a shareable link.
|
String |
toString()
Returns a string representation of this object.
|
LinkSharingConfiguration |
withPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions of a shareable link.
|
LinkSharingConfiguration |
withPermissions(ResourcePermission... permissions)
A structure that contains the permissions of a shareable link.
|
public List<ResourcePermission> getPermissions()
A structure that contains the permissions of a shareable link.
public void setPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions of a shareable link.
permissions
- A structure that contains the permissions of a shareable link.public LinkSharingConfiguration withPermissions(ResourcePermission... permissions)
A structure that contains the permissions of a shareable link.
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
- A structure that contains the permissions of a shareable link.public LinkSharingConfiguration withPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions of a shareable link.
permissions
- A structure that contains the permissions of a shareable link.public String toString()
toString
in class Object
Object.toString()
public LinkSharingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.