@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetailsMap extends Object implements Serializable, Cloneable, StructuredPojo
A structure containing the additional details to be returned in the AdditionalDetails attribute of
PrincipalResourcePermissions.
If a catalog resource is shared through Resource Access Manager (RAM), then there will exist a corresponding RAM resource share ARN.
| Constructor and Description |
|---|
DetailsMap() |
| Modifier and Type | Method and Description |
|---|---|
DetailsMap |
clone() |
boolean |
equals(Object obj) |
List<String> |
getResourceShare()
A resource share ARN for a catalog resource shared through RAM.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResourceShare(Collection<String> resourceShare)
A resource share ARN for a catalog resource shared through RAM.
|
String |
toString()
Returns a string representation of this object.
|
DetailsMap |
withResourceShare(Collection<String> resourceShare)
A resource share ARN for a catalog resource shared through RAM.
|
DetailsMap |
withResourceShare(String... resourceShare)
A resource share ARN for a catalog resource shared through RAM.
|
public List<String> getResourceShare()
A resource share ARN for a catalog resource shared through RAM.
public void setResourceShare(Collection<String> resourceShare)
A resource share ARN for a catalog resource shared through RAM.
resourceShare - A resource share ARN for a catalog resource shared through RAM.public DetailsMap withResourceShare(String... resourceShare)
A resource share ARN for a catalog resource shared through RAM.
NOTE: This method appends the values to the existing list (if any). Use
setResourceShare(java.util.Collection) or withResourceShare(java.util.Collection) if you want
to override the existing values.
resourceShare - A resource share ARN for a catalog resource shared through RAM.public DetailsMap withResourceShare(Collection<String> resourceShare)
A resource share ARN for a catalog resource shared through RAM.
resourceShare - A resource share ARN for a catalog resource shared through RAM.public String toString()
toString in class ObjectObject.toString()public DetailsMap clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.