@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscribedPrincipal extends Object implements Serializable, Cloneable, StructuredPojo
The principal that has the subscription grant for the asset.
| Constructor and Description |
|---|
SubscribedPrincipal() |
| Modifier and Type | Method and Description |
|---|---|
SubscribedPrincipal |
clone() |
boolean |
equals(Object obj) |
SubscribedProject |
getProject()
The project that has the subscription grant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProject(SubscribedProject project)
The project that has the subscription grant.
|
String |
toString()
Returns a string representation of this object.
|
SubscribedPrincipal |
withProject(SubscribedProject project)
The project that has the subscription grant.
|
public void setProject(SubscribedProject project)
The project that has the subscription grant.
project - The project that has the subscription grant.public SubscribedProject getProject()
The project that has the subscription grant.
public SubscribedPrincipal withProject(SubscribedProject project)
The project that has the subscription grant.
project - The project that has the subscription grant.public String toString()
toString in class ObjectObject.toString()public SubscribedPrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.