@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProposalSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the proposal received from the proposer.
| Constructor and Description |
|---|
ProposalSummary() |
| Modifier and Type | Method and Description |
|---|---|
ProposalSummary |
clone() |
boolean |
equals(Object obj) |
String |
getOfferId()
The unique identifier of the offer in AWS Marketplace.
|
List<Resource> |
getResources()
The list of resources involved in the agreement.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setOfferId(String offerId)
The unique identifier of the offer in AWS Marketplace.
|
void |
setResources(Collection<Resource> resources)
The list of resources involved in the agreement.
|
String |
toString()
Returns a string representation of this object.
|
ProposalSummary |
withOfferId(String offerId)
The unique identifier of the offer in AWS Marketplace.
|
ProposalSummary |
withResources(Collection<Resource> resources)
The list of resources involved in the agreement.
|
ProposalSummary |
withResources(Resource... resources)
The list of resources involved in the agreement.
|
public void setOfferId(String offerId)
The unique identifier of the offer in AWS Marketplace.
offerId - The unique identifier of the offer in AWS Marketplace.public String getOfferId()
The unique identifier of the offer in AWS Marketplace.
public ProposalSummary withOfferId(String offerId)
The unique identifier of the offer in AWS Marketplace.
offerId - The unique identifier of the offer in AWS Marketplace.public List<Resource> getResources()
The list of resources involved in the agreement.
public void setResources(Collection<Resource> resources)
The list of resources involved in the agreement.
resources - The list of resources involved in the agreement.public ProposalSummary withResources(Resource... resources)
The list of resources involved in the agreement.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
override the existing values.
resources - The list of resources involved in the agreement.public ProposalSummary withResources(Collection<Resource> resources)
The list of resources involved in the agreement.
resources - The list of resources involved in the agreement.public String toString()
toString in class ObjectObject.toString()public ProposalSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.