@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociationStatus()
The status of the association.
|
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 status of the association.
|
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 status of the association.
|
GetResourceShareAssociationsRequest |
withAssociationStatus(String associationStatus)
The status of the association.
|
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, 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.
resourceArn - The Amazon Resource Name (ARN) of the resource.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
public GetResourceShareAssociationsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn - The Amazon Resource Name (ARN) of the resource.public void setPrincipal(String principal)
The principal.
principal - The principal.public String getPrincipal()
The principal.
public GetResourceShareAssociationsRequest withPrincipal(String principal)
The principal.
principal - The principal.public void setAssociationStatus(String associationStatus)
The status of the association.
associationStatus - The status of the association.ResourceShareAssociationStatuspublic String getAssociationStatus()
The status of the association.
ResourceShareAssociationStatuspublic GetResourceShareAssociationsRequest withAssociationStatus(String associationStatus)
The status of the association.
associationStatus - The status of the association.ResourceShareAssociationStatuspublic GetResourceShareAssociationsRequest withAssociationStatus(ResourceShareAssociationStatus associationStatus)
The status of the association.
associationStatus - The status of the association.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()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.