@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 Object
Object.toString()
public SubscribedPrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.