@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchAgreementsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
SearchAgreementsResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchAgreementsResult |
clone() |
boolean |
equals(Object obj) |
List<AgreementViewSummary> |
getAgreementViewSummaries()
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and
acceptor).
|
String |
getNextToken()
The token used for pagination.
|
int |
hashCode() |
void |
setAgreementViewSummaries(Collection<AgreementViewSummary> agreementViewSummaries)
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and
acceptor).
|
void |
setNextToken(String nextToken)
The token used for pagination.
|
String |
toString()
Returns a string representation of this object.
|
SearchAgreementsResult |
withAgreementViewSummaries(AgreementViewSummary... agreementViewSummaries)
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and
acceptor).
|
SearchAgreementsResult |
withAgreementViewSummaries(Collection<AgreementViewSummary> agreementViewSummaries)
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and
acceptor).
|
SearchAgreementsResult |
withNextToken(String nextToken)
The token used for pagination.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<AgreementViewSummary> getAgreementViewSummaries()
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
public void setAgreementViewSummaries(Collection<AgreementViewSummary> agreementViewSummaries)
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
agreementViewSummaries - A summary of the agreement, including top-level attributes (for example, the agreement ID, version,
proposer, and acceptor).public SearchAgreementsResult withAgreementViewSummaries(AgreementViewSummary... agreementViewSummaries)
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
NOTE: This method appends the values to the existing list (if any). Use
setAgreementViewSummaries(java.util.Collection) or
withAgreementViewSummaries(java.util.Collection) if you want to override the existing values.
agreementViewSummaries - A summary of the agreement, including top-level attributes (for example, the agreement ID, version,
proposer, and acceptor).public SearchAgreementsResult withAgreementViewSummaries(Collection<AgreementViewSummary> agreementViewSummaries)
A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
agreementViewSummaries - A summary of the agreement, including top-level attributes (for example, the agreement ID, version,
proposer, and acceptor).public void setNextToken(String nextToken)
The token used for pagination. The field is null if there are no more results.
nextToken - The token used for pagination. The field is null if there are no more results.public String getNextToken()
The token used for pagination. The field is null if there are no more results.
null if there are no more results.public SearchAgreementsResult withNextToken(String nextToken)
The token used for pagination. The field is null if there are no more results.
nextToken - The token used for pagination. The field is null if there are no more results.public String toString()
toString in class ObjectObject.toString()public SearchAgreementsResult clone()