@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgreementViewSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
| Constructor and Description |
|---|
AgreementViewSummary() |
| Modifier and Type | Method and Description |
|---|---|
AgreementViewSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getAcceptanceTime()
The date and time that the agreement was accepted.
|
Acceptor |
getAcceptor()
Details of the party accepting the agreement terms.
|
String |
getAgreementId()
The unique identifier of the agreement.
|
String |
getAgreementType()
The type of agreement.
|
Date |
getEndTime()
The date and time when the agreement ends.
|
ProposalSummary |
getProposalSummary()
A summary of the proposal
|
Proposer |
getProposer()
Details of the party proposing the agreement terms, most commonly the seller for
PurchaseAgreement. |
Date |
getStartTime()
The date and time when the agreement starts.
|
String |
getStatus()
The current status of the agreement.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAcceptanceTime(Date acceptanceTime)
The date and time that the agreement was accepted.
|
void |
setAcceptor(Acceptor acceptor)
Details of the party accepting the agreement terms.
|
void |
setAgreementId(String agreementId)
The unique identifier of the agreement.
|
void |
setAgreementType(String agreementType)
The type of agreement.
|
void |
setEndTime(Date endTime)
The date and time when the agreement ends.
|
void |
setProposalSummary(ProposalSummary proposalSummary)
A summary of the proposal
|
void |
setProposer(Proposer proposer)
Details of the party proposing the agreement terms, most commonly the seller for
PurchaseAgreement. |
void |
setStartTime(Date startTime)
The date and time when the agreement starts.
|
void |
setStatus(String status)
The current status of the agreement.
|
String |
toString()
Returns a string representation of this object.
|
AgreementViewSummary |
withAcceptanceTime(Date acceptanceTime)
The date and time that the agreement was accepted.
|
AgreementViewSummary |
withAcceptor(Acceptor acceptor)
Details of the party accepting the agreement terms.
|
AgreementViewSummary |
withAgreementId(String agreementId)
The unique identifier of the agreement.
|
AgreementViewSummary |
withAgreementType(String agreementType)
The type of agreement.
|
AgreementViewSummary |
withEndTime(Date endTime)
The date and time when the agreement ends.
|
AgreementViewSummary |
withProposalSummary(ProposalSummary proposalSummary)
A summary of the proposal
|
AgreementViewSummary |
withProposer(Proposer proposer)
Details of the party proposing the agreement terms, most commonly the seller for
PurchaseAgreement. |
AgreementViewSummary |
withStartTime(Date startTime)
The date and time when the agreement starts.
|
AgreementViewSummary |
withStatus(AgreementStatus status)
The current status of the agreement.
|
AgreementViewSummary |
withStatus(String status)
The current status of the agreement.
|
public void setAcceptanceTime(Date acceptanceTime)
The date and time that the agreement was accepted.
acceptanceTime - The date and time that the agreement was accepted.public Date getAcceptanceTime()
The date and time that the agreement was accepted.
public AgreementViewSummary withAcceptanceTime(Date acceptanceTime)
The date and time that the agreement was accepted.
acceptanceTime - The date and time that the agreement was accepted.public void setAcceptor(Acceptor acceptor)
Details of the party accepting the agreement terms. This is commonly the buyer for
PurchaseAgreement.
acceptor - Details of the party accepting the agreement terms. This is commonly the buyer for
PurchaseAgreement.public Acceptor getAcceptor()
Details of the party accepting the agreement terms. This is commonly the buyer for
PurchaseAgreement.
PurchaseAgreement.public AgreementViewSummary withAcceptor(Acceptor acceptor)
Details of the party accepting the agreement terms. This is commonly the buyer for
PurchaseAgreement.
acceptor - Details of the party accepting the agreement terms. This is commonly the buyer for
PurchaseAgreement.public void setAgreementId(String agreementId)
The unique identifier of the agreement.
agreementId - The unique identifier of the agreement.public String getAgreementId()
The unique identifier of the agreement.
public AgreementViewSummary withAgreementId(String agreementId)
The unique identifier of the agreement.
agreementId - The unique identifier of the agreement.public void setAgreementType(String agreementType)
The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.
agreementType - The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.public String getAgreementType()
The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.
PurchaseAgreement or VendorInsightsAgreement.public AgreementViewSummary withAgreementType(String agreementType)
The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.
agreementType - The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.public void setEndTime(Date endTime)
The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which
don’t have end dates.
endTime - The date and time when the agreement ends. The field is null for pay-as-you-go agreements,
which don’t have end dates.public Date getEndTime()
The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which
don’t have end dates.
null for pay-as-you-go agreements,
which don’t have end dates.public AgreementViewSummary withEndTime(Date endTime)
The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which
don’t have end dates.
endTime - The date and time when the agreement ends. The field is null for pay-as-you-go agreements,
which don’t have end dates.public void setProposalSummary(ProposalSummary proposalSummary)
A summary of the proposal
proposalSummary - A summary of the proposalpublic ProposalSummary getProposalSummary()
A summary of the proposal
public AgreementViewSummary withProposalSummary(ProposalSummary proposalSummary)
A summary of the proposal
proposalSummary - A summary of the proposalpublic void setProposer(Proposer proposer)
Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.
proposer - Details of the party proposing the agreement terms, most commonly the seller for
PurchaseAgreement.public Proposer getProposer()
Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.
PurchaseAgreement.public AgreementViewSummary withProposer(Proposer proposer)
Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.
proposer - Details of the party proposing the agreement terms, most commonly the seller for
PurchaseAgreement.public void setStartTime(Date startTime)
The date and time when the agreement starts.
startTime - The date and time when the agreement starts.public Date getStartTime()
The date and time when the agreement starts.
public AgreementViewSummary withStartTime(Date startTime)
The date and time when the agreement starts.
startTime - The date and time when the agreement starts.public void setStatus(String status)
The current status of the agreement.
status - The current status of the agreement.AgreementStatuspublic String getStatus()
The current status of the agreement.
AgreementStatuspublic AgreementViewSummary withStatus(String status)
The current status of the agreement.
status - The current status of the agreement.AgreementStatuspublic AgreementViewSummary withStatus(AgreementStatus status)
The current status of the agreement.
status - The current status of the agreement.AgreementStatuspublic String toString()
toString in class ObjectObject.toString()public AgreementViewSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.