@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourceSharesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetResourceSharesRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetResourceSharesRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getName()
The name of the resource share.
|
String |
getNextToken()
The token for the next page of results.
|
String |
getPermissionArn()
The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.
|
String |
getResourceOwner()
The type of owner.
|
List<String> |
getResourceShareArns()
The ARNs of the resource shares.
|
String |
getResourceShareStatus()
The status of the resource share.
|
List<TagFilter> |
getTagFilters()
One or more tag filters.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setName(String name)
The name of the resource share.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.
|
void |
setResourceOwner(String resourceOwner)
The type of owner.
|
void |
setResourceShareArns(Collection<String> resourceShareArns)
The ARNs of the resource shares.
|
void |
setResourceShareStatus(String resourceShareStatus)
The status of the resource share.
|
void |
setTagFilters(Collection<TagFilter> tagFilters)
One or more tag filters.
|
String |
toString()
Returns a string representation of this object.
|
GetResourceSharesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
GetResourceSharesRequest |
withName(String name)
The name of the resource share.
|
GetResourceSharesRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
GetResourceSharesRequest |
withPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.
|
GetResourceSharesRequest |
withResourceOwner(ResourceOwner resourceOwner)
The type of owner.
|
GetResourceSharesRequest |
withResourceOwner(String resourceOwner)
The type of owner.
|
GetResourceSharesRequest |
withResourceShareArns(Collection<String> resourceShareArns)
The ARNs of the resource shares.
|
GetResourceSharesRequest |
withResourceShareArns(String... resourceShareArns)
The ARNs of the resource shares.
|
GetResourceSharesRequest |
withResourceShareStatus(ResourceShareStatus resourceShareStatus)
The status of the resource share.
|
GetResourceSharesRequest |
withResourceShareStatus(String resourceShareStatus)
The status of the resource share.
|
GetResourceSharesRequest |
withTagFilters(Collection<TagFilter> tagFilters)
One or more tag filters.
|
GetResourceSharesRequest |
withTagFilters(TagFilter... tagFilters)
One or more tag filters.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic List<String> getResourceShareArns()
The ARNs of the resource shares.
public void setResourceShareArns(Collection<String> resourceShareArns)
The ARNs of the resource shares.
resourceShareArns - The ARNs of the resource shares.public GetResourceSharesRequest withResourceShareArns(String... resourceShareArns)
The ARNs of the resource shares.
NOTE: This method appends the values to the existing list (if any). Use
setResourceShareArns(java.util.Collection) or withResourceShareArns(java.util.Collection) if
you want to override the existing values.
resourceShareArns - The ARNs of the resource shares.public GetResourceSharesRequest withResourceShareArns(Collection<String> resourceShareArns)
The ARNs of the resource shares.
resourceShareArns - The ARNs of the resource shares.public void setResourceShareStatus(String resourceShareStatus)
The status of the resource share.
resourceShareStatus - The status of the resource share.ResourceShareStatuspublic String getResourceShareStatus()
The status of the resource share.
ResourceShareStatuspublic GetResourceSharesRequest withResourceShareStatus(String resourceShareStatus)
The status of the resource share.
resourceShareStatus - The status of the resource share.ResourceShareStatuspublic GetResourceSharesRequest withResourceShareStatus(ResourceShareStatus resourceShareStatus)
The status of the resource share.
resourceShareStatus - The status of the resource share.ResourceShareStatuspublic void setResourceOwner(String resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic String getResourceOwner()
The type of owner.
ResourceOwnerpublic GetResourceSharesRequest withResourceOwner(String resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic GetResourceSharesRequest withResourceOwner(ResourceOwner resourceOwner)
The type of owner.
resourceOwner - The type of owner.ResourceOwnerpublic void setName(String name)
The name of the resource share.
name - The name of the resource share.public String getName()
The name of the resource share.
public GetResourceSharesRequest withName(String name)
The name of the resource share.
name - The name of the resource share.public List<TagFilter> getTagFilters()
One or more tag filters.
public void setTagFilters(Collection<TagFilter> tagFilters)
One or more tag filters.
tagFilters - One or more tag filters.public GetResourceSharesRequest withTagFilters(TagFilter... tagFilters)
One or more tag filters.
NOTE: This method appends the values to the existing list (if any). Use
setTagFilters(java.util.Collection) or withTagFilters(java.util.Collection) if you want to
override the existing values.
tagFilters - One or more tag filters.public GetResourceSharesRequest withTagFilters(Collection<TagFilter> tagFilters)
One or more tag filters.
tagFilters - One or more tag filters.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public String getNextToken()
The token for the next page of results.
public GetResourceSharesRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken value.public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
nextToken value.public GetResourceSharesRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken value.
maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken value.public void setPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.
permissionArn - The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.public String getPermissionArn()
The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.
public GetResourceSharesRequest withPermissionArn(String permissionArn)
The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.
permissionArn - The Amazon Resource Name (ARN) of the AWS RAM permission that is associated with the resource share.public String toString()
toString in class ObjectObject.toString()public GetResourceSharesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.