@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageVersionHistoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for request parameters to GetPackageVersionHistory
operation.
NOOP
Constructor and Description |
---|
GetPackageVersionHistoryRequest() |
Modifier and Type | Method and Description |
---|---|
GetPackageVersionHistoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Limits results to a maximum number of versions.
|
String |
getNextToken()
Used for pagination.
|
String |
getPackageID()
Returns an audit history of versions of the package.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Limits results to a maximum number of versions.
|
void |
setNextToken(String nextToken)
Used for pagination.
|
void |
setPackageID(String packageID)
Returns an audit history of versions of the package.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageVersionHistoryRequest |
withMaxResults(Integer maxResults)
Limits results to a maximum number of versions.
|
GetPackageVersionHistoryRequest |
withNextToken(String nextToken)
Used for pagination.
|
GetPackageVersionHistoryRequest |
withPackageID(String packageID)
Returns an audit history of versions of the package.
|
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 setPackageID(String packageID)
Returns an audit history of versions of the package.
packageID
- Returns an audit history of versions of the package.public String getPackageID()
Returns an audit history of versions of the package.
public GetPackageVersionHistoryRequest withPackageID(String packageID)
Returns an audit history of versions of the package.
packageID
- Returns an audit history of versions of the package.public void setMaxResults(Integer maxResults)
Limits results to a maximum number of versions.
maxResults
- Limits results to a maximum number of versions.public Integer getMaxResults()
Limits results to a maximum number of versions.
public GetPackageVersionHistoryRequest withMaxResults(Integer maxResults)
Limits results to a maximum number of versions.
maxResults
- Limits results to a maximum number of versions.public void setNextToken(String nextToken)
Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
nextToken
- Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If
provided, returns results for the next page.public String getNextToken()
Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
public GetPackageVersionHistoryRequest withNextToken(String nextToken)
Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.
nextToken
- Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If
provided, returns results for the next page.public String toString()
toString
in class Object
Object.toString()
public GetPackageVersionHistoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()