@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 AWS Resource Access Manager (AWS RAM), then there will exist a corresponding RAM share resource ARN.
| Constructor and Description |
|---|
DetailsMap() |
| Modifier and Type | Method and Description |
|---|---|
DetailsMap |
clone() |
boolean |
equals(Object obj) |
List<String> |
getResourceShare()
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResourceShare(Collection<String> resourceShare)
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
|
String |
toString()
Returns a string representation of this object.
|
DetailsMap |
withResourceShare(Collection<String> resourceShare)
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
|
DetailsMap |
withResourceShare(String... resourceShare)
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
|
public List<String> getResourceShare()
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
public void setResourceShare(Collection<String> resourceShare)
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
resourceShare - A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).public DetailsMap withResourceShare(String... resourceShare)
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS 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 share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).public DetailsMap withResourceShare(Collection<String> resourceShare)
A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS RAM).
resourceShare - A share resource ARN for a catalog resource shared through AWS Resource Access Manager (AWS 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.