@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListVersionsRequest |
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 results to include in the response.
|
String |
getNextToken()
The token to use when requesting the next set of results.
|
String |
getWorkspaceId()
The ID of the workspace to list the available upgrade versions.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of results.
|
void |
setWorkspaceId(String workspaceId)
The ID of the workspace to list the available upgrade versions.
|
String |
toString()
Returns a string representation of this object.
|
ListVersionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
|
ListVersionsRequest |
withNextToken(String nextToken)
The token to use when requesting the next set of results.
|
ListVersionsRequest |
withWorkspaceId(String workspaceId)
The ID of the workspace to list the available upgrade versions.
|
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 results to include in the response.
maxResults
- The maximum number of results to include in the response.public Integer getMaxResults()
The maximum number of results to include in the response.
public ListVersionsRequest withMaxResults(Integer maxResults)
The maximum number of results to include in the response.
maxResults
- The maximum number of results to include in the response.public void setNextToken(String nextToken)
The token to use when requesting the next set of results. You receive this token from a previous
ListVersions
operation.
nextToken
- The token to use when requesting the next set of results. You receive this token from a previous
ListVersions
operation.public String getNextToken()
The token to use when requesting the next set of results. You receive this token from a previous
ListVersions
operation.
ListVersions
operation.public ListVersionsRequest withNextToken(String nextToken)
The token to use when requesting the next set of results. You receive this token from a previous
ListVersions
operation.
nextToken
- The token to use when requesting the next set of results. You receive this token from a previous
ListVersions
operation.public void setWorkspaceId(String workspaceId)
The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana
that are supported for CreateWorkspace
.
workspaceId
- The ID of the workspace to list the available upgrade versions. If not included, lists all versions of
Grafana that are supported for CreateWorkspace
.public String getWorkspaceId()
The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana
that are supported for CreateWorkspace
.
CreateWorkspace
.public ListVersionsRequest withWorkspaceId(String workspaceId)
The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana
that are supported for CreateWorkspace
.
workspaceId
- The ID of the workspace to list the available upgrade versions. If not included, lists all versions of
Grafana that are supported for CreateWorkspace
.public String toString()
toString
in class Object
Object.toString()
public ListVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()