@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubscribedProject extends Object implements Serializable, Cloneable, StructuredPojo
The project that has the subscription grant.
Constructor and Description |
---|
SubscribedProject() |
Modifier and Type | Method and Description |
---|---|
SubscribedProject |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The identifier of the project that has the subscription grant.
|
String |
getName()
The name of the project that has the subscription grant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The identifier of the project that has the subscription grant.
|
void |
setName(String name)
The name of the project that has the subscription grant.
|
String |
toString()
Returns a string representation of this object.
|
SubscribedProject |
withId(String id)
The identifier of the project that has the subscription grant.
|
SubscribedProject |
withName(String name)
The name of the project that has the subscription grant.
|
public void setId(String id)
The identifier of the project that has the subscription grant.
id
- The identifier of the project that has the subscription grant.public String getId()
The identifier of the project that has the subscription grant.
public SubscribedProject withId(String id)
The identifier of the project that has the subscription grant.
id
- The identifier of the project that has the subscription grant.public void setName(String name)
The name of the project that has the subscription grant.
name
- The name of the project that has the subscription grant.public String getName()
The name of the project that has the subscription grant.
public SubscribedProject withName(String name)
The name of the project that has the subscription grant.
name
- The name of the project that has the subscription grant.public String toString()
toString
in class Object
Object.toString()
public SubscribedProject clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.