@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAgreementsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAgreementsRequest() |
Modifier and Type | Method and Description |
---|---|
ListAgreementsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of agreements to return.
|
String |
getNextToken()
When you can get additional results from the
ListAgreements call, a NextToken parameter
is returned in the output. |
String |
getServerId()
The identifier of the server for which you want a list of agreements.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of agreements to return.
|
void |
setNextToken(String nextToken)
When you can get additional results from the
ListAgreements call, a NextToken parameter
is returned in the output. |
void |
setServerId(String serverId)
The identifier of the server for which you want a list of agreements.
|
String |
toString()
Returns a string representation of this object.
|
ListAgreementsRequest |
withMaxResults(Integer maxResults)
The maximum number of agreements to return.
|
ListAgreementsRequest |
withNextToken(String nextToken)
When you can get additional results from the
ListAgreements call, a NextToken parameter
is returned in the output. |
ListAgreementsRequest |
withServerId(String serverId)
The identifier of the server for which you want a list of agreements.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of agreements to return.
maxResults
- The maximum number of agreements to return.public Integer getMaxResults()
The maximum number of agreements to return.
public ListAgreementsRequest withMaxResults(Integer maxResults)
The maximum number of agreements to return.
maxResults
- The maximum number of agreements to return.public void setNextToken(String nextToken)
When you can get additional results from the ListAgreements
call, a NextToken
parameter
is returned in the output. You can then pass in a subsequent command to the NextToken
parameter to
continue listing additional agreements.
nextToken
- When you can get additional results from the ListAgreements
call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command to the
NextToken
parameter to continue listing additional agreements.public String getNextToken()
When you can get additional results from the ListAgreements
call, a NextToken
parameter
is returned in the output. You can then pass in a subsequent command to the NextToken
parameter to
continue listing additional agreements.
ListAgreements
call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command to the
NextToken
parameter to continue listing additional agreements.public ListAgreementsRequest withNextToken(String nextToken)
When you can get additional results from the ListAgreements
call, a NextToken
parameter
is returned in the output. You can then pass in a subsequent command to the NextToken
parameter to
continue listing additional agreements.
nextToken
- When you can get additional results from the ListAgreements
call, a NextToken
parameter is returned in the output. You can then pass in a subsequent command to the
NextToken
parameter to continue listing additional agreements.public void setServerId(String serverId)
The identifier of the server for which you want a list of agreements.
serverId
- The identifier of the server for which you want a list of agreements.public String getServerId()
The identifier of the server for which you want a list of agreements.
public ListAgreementsRequest withServerId(String serverId)
The identifier of the server for which you want a list of agreements.
serverId
- The identifier of the server for which you want a list of agreements.public String toString()
toString
in class Object
Object.toString()
public ListAgreementsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()