@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkloadSharesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for List Workload Share
NOOP
Constructor and Description |
---|
ListWorkloadSharesRequest() |
Modifier and Type | Method and Description |
---|---|
ListWorkloadSharesRequest |
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 return for this request.
|
String |
getNextToken() |
String |
getSharedWithPrefix()
The AWS account ID or IAM role with which the workload is shared.
|
String |
getWorkloadId() |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for this request.
|
void |
setNextToken(String nextToken) |
void |
setSharedWithPrefix(String sharedWithPrefix)
The AWS account ID or IAM role with which the workload is shared.
|
void |
setWorkloadId(String workloadId) |
String |
toString()
Returns a string representation of this object.
|
ListWorkloadSharesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for this request.
|
ListWorkloadSharesRequest |
withNextToken(String nextToken) |
ListWorkloadSharesRequest |
withSharedWithPrefix(String sharedWithPrefix)
The AWS account ID or IAM role with which the workload is shared.
|
ListWorkloadSharesRequest |
withWorkloadId(String workloadId) |
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 setWorkloadId(String workloadId)
workloadId
- public String getWorkloadId()
public ListWorkloadSharesRequest withWorkloadId(String workloadId)
workloadId
- public void setSharedWithPrefix(String sharedWithPrefix)
The AWS account ID or IAM role with which the workload is shared.
sharedWithPrefix
- The AWS account ID or IAM role with which the workload is shared.public String getSharedWithPrefix()
The AWS account ID or IAM role with which the workload is shared.
public ListWorkloadSharesRequest withSharedWithPrefix(String sharedWithPrefix)
The AWS account ID or IAM role with which the workload is shared.
sharedWithPrefix
- The AWS account ID or IAM role with which the workload is shared.public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListWorkloadSharesRequest withNextToken(String nextToken)
nextToken
- public void setMaxResults(Integer maxResults)
The maximum number of results to return for this request.
maxResults
- The maximum number of results to return for this request.public Integer getMaxResults()
The maximum number of results to return for this request.
public ListWorkloadSharesRequest withMaxResults(Integer maxResults)
The maximum number of results to return for this request.
maxResults
- The maximum number of results to return for this request.public String toString()
toString
in class Object
Object.toString()
public ListWorkloadSharesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()