@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourceShareAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetResourceShareAssociationsRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetResourceShareAssociationsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationStatus()
The association status.
|
String |
getAssociationType()
The association type.
|
Integer |
getMaxResults()
The maximum number of results to return with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
String |
getPrincipal()
The principal.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
List<String> |
getResourceShareArns()
The Amazon Resource Names (ARN) of the resource shares.
|
int |
hashCode() |
void |
setAssociationStatus(String associationStatus)
The association status.
|
void |
setAssociationType(String associationType)
The association type.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setPrincipal(String principal)
The principal.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
void |
setResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
String |
toString()
Returns a string representation of this object.
|
GetResourceShareAssociationsRequest |
withAssociationStatus(ResourceShareAssociationStatus associationStatus)
The association status.
|
GetResourceShareAssociationsRequest |
withAssociationStatus(String associationStatus)
The association status.
|
GetResourceShareAssociationsRequest |
withAssociationType(ResourceShareAssociationType associationType)
The association type.
|
GetResourceShareAssociationsRequest |
withAssociationType(String associationType)
The association type.
|
GetResourceShareAssociationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
GetResourceShareAssociationsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
GetResourceShareAssociationsRequest |
withPrincipal(String principal)
The principal.
|
GetResourceShareAssociationsRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
GetResourceShareAssociationsRequest |
withResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
GetResourceShareAssociationsRequest |
withResourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
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 void setAssociationType(String associationType)
The association type.
associationType - The association type.ResourceShareAssociationTypepublic String getAssociationType()
The association type.
ResourceShareAssociationTypepublic GetResourceShareAssociationsRequest withAssociationType(String associationType)
The association type.
associationType - The association type.ResourceShareAssociationTypepublic GetResourceShareAssociationsRequest withAssociationType(ResourceShareAssociationType associationType)
The association type.
associationType - The association type.ResourceShareAssociationTypepublic List<String> getResourceShareArns()
The Amazon Resource Names (ARN) of the resource shares.
public void setResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns - The Amazon Resource Names (ARN) of the resource shares.public GetResourceShareAssociationsRequest withResourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) 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 Amazon Resource Names (ARN) of the resource shares.public GetResourceShareAssociationsRequest withResourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns - The Amazon Resource Names (ARN) of the resource shares.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type is
PRINCIPAL.
resourceArn - The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type
is PRINCIPAL.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type is
PRINCIPAL.
PRINCIPAL.public GetResourceShareAssociationsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type is
PRINCIPAL.
resourceArn - The Amazon Resource Name (ARN) of the resource. You cannot specify this parameter if the association type
is PRINCIPAL.public void setPrincipal(String principal)
The principal. You cannot specify this parameter if the association type is RESOURCE.
principal - The principal. You cannot specify this parameter if the association type is RESOURCE.public String getPrincipal()
The principal. You cannot specify this parameter if the association type is RESOURCE.
RESOURCE.public GetResourceShareAssociationsRequest withPrincipal(String principal)
The principal. You cannot specify this parameter if the association type is RESOURCE.
principal - The principal. You cannot specify this parameter if the association type is RESOURCE.public void setAssociationStatus(String associationStatus)
The association status.
associationStatus - The association status.ResourceShareAssociationStatuspublic String getAssociationStatus()
The association status.
ResourceShareAssociationStatuspublic GetResourceShareAssociationsRequest withAssociationStatus(String associationStatus)
The association status.
associationStatus - The association status.ResourceShareAssociationStatuspublic GetResourceShareAssociationsRequest withAssociationStatus(ResourceShareAssociationStatus associationStatus)
The association status.
associationStatus - The association status.ResourceShareAssociationStatuspublic 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 GetResourceShareAssociationsRequest 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 GetResourceShareAssociationsRequest 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 String toString()
toString in class ObjectObject.toString()public GetResourceShareAssociationsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.