@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkgroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListWorkgroupsRequest() |
Modifier and Type | Method and Description |
---|---|
ListWorkgroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
An optional parameter that specifies the maximum number of results to return.
|
String |
getNextToken()
If your initial ListWorkgroups operation returns a
nextToken , you can include the returned
nextToken in following ListNamespaces operations, which returns results in the next page. |
String |
getOwnerAccount()
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
void |
setNextToken(String nextToken)
If your initial ListWorkgroups operation returns a
nextToken , you can include the returned
nextToken in following ListNamespaces operations, which returns results in the next page. |
void |
setOwnerAccount(String ownerAccount)
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkgroupsRequest |
withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return.
|
ListWorkgroupsRequest |
withNextToken(String nextToken)
If your initial ListWorkgroups operation returns a
nextToken , you can include the returned
nextToken in following ListNamespaces operations, which returns results in the next page. |
ListWorkgroupsRequest |
withOwnerAccount(String ownerAccount)
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
|
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)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to display the next page of results.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to display the next page of results.public Integer getMaxResults()
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to display the next page of results.
nextToken
to display the next page of results.public ListWorkgroupsRequest withMaxResults(Integer maxResults)
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to display the next page of results.
maxResults
- An optional parameter that specifies the maximum number of results to return. You can use
nextToken
to display the next page of results.public void setNextToken(String nextToken)
If your initial ListWorkgroups operation returns a nextToken
, you can include the returned
nextToken
in following ListNamespaces operations, which returns results in the next page.
nextToken
- If your initial ListWorkgroups operation returns a nextToken
, you can include the returned
nextToken
in following ListNamespaces operations, which returns results in the next page.public String getNextToken()
If your initial ListWorkgroups operation returns a nextToken
, you can include the returned
nextToken
in following ListNamespaces operations, which returns results in the next page.
nextToken
, you can include the returned
nextToken
in following ListNamespaces operations, which returns results in the next page.public ListWorkgroupsRequest withNextToken(String nextToken)
If your initial ListWorkgroups operation returns a nextToken
, you can include the returned
nextToken
in following ListNamespaces operations, which returns results in the next page.
nextToken
- If your initial ListWorkgroups operation returns a nextToken
, you can include the returned
nextToken
in following ListNamespaces operations, which returns results in the next page.public void setOwnerAccount(String ownerAccount)
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
ownerAccount
- The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.public String getOwnerAccount()
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
public ListWorkgroupsRequest withOwnerAccount(String ownerAccount)
The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.
ownerAccount
- The owner Amazon Web Services account for the Amazon Redshift Serverless workgroup.public String toString()
toString
in class Object
Object.toString()
public ListWorkgroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()