@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAgreementTermsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAgreementTermsResult() |
Modifier and Type | Method and Description |
---|---|
GetAgreementTermsResult |
clone() |
boolean |
equals(Object obj) |
List<AcceptedTerm> |
getAcceptedTerms()
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement
creation.
|
String |
getNextToken()
A token to specify where to start pagination
|
int |
hashCode() |
void |
setAcceptedTerms(Collection<AcceptedTerm> acceptedTerms)
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement
creation.
|
void |
setNextToken(String nextToken)
A token to specify where to start pagination
|
String |
toString()
Returns a string representation of this object.
|
GetAgreementTermsResult |
withAcceptedTerms(AcceptedTerm... acceptedTerms)
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement
creation.
|
GetAgreementTermsResult |
withAcceptedTerms(Collection<AcceptedTerm> acceptedTerms)
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement
creation.
|
GetAgreementTermsResult |
withNextToken(String nextToken)
A token to specify where to start pagination
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AcceptedTerm> getAcceptedTerms()
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement creation.
public void setAcceptedTerms(Collection<AcceptedTerm> acceptedTerms)
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement creation.
acceptedTerms
- A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the
agreement creation.public GetAgreementTermsResult withAcceptedTerms(AcceptedTerm... acceptedTerms)
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement creation.
NOTE: This method appends the values to the existing list (if any). Use
setAcceptedTerms(java.util.Collection)
or withAcceptedTerms(java.util.Collection)
if you want
to override the existing values.
acceptedTerms
- A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the
agreement creation.public GetAgreementTermsResult withAcceptedTerms(Collection<AcceptedTerm> acceptedTerms)
A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement creation.
acceptedTerms
- A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the
agreement creation.public void setNextToken(String nextToken)
A token to specify where to start pagination
nextToken
- A token to specify where to start paginationpublic String getNextToken()
A token to specify where to start pagination
public GetAgreementTermsResult withNextToken(String nextToken)
A token to specify where to start pagination
nextToken
- A token to specify where to start paginationpublic String toString()
toString
in class Object
Object.toString()
public GetAgreementTermsResult clone()