@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPermissionAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPermissionAssociationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPermissionAssociationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociationStatus()
Specifies that you want to list only those associations with resource shares that match this status.
|
Boolean |
getDefaultVersion()
When
true , specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission. |
String |
getFeatureSet()
Specifies that you want to list only those associations with resource shares that have a
featureSet
with this value. |
Integer |
getMaxResults()
Specifies the total number of results that you want included on each page of the response.
|
String |
getNextToken()
Specifies that you want to receive the next page of results.
|
String |
getPermissionArn()
Specifies the Amazon
Resource Name (ARN) of the managed permission.
|
Integer |
getPermissionVersion()
Specifies that you want to list only those associations with resource shares that use this version of the managed
permission.
|
String |
getResourceType()
Specifies that you want to list only those associations with resource shares that include at least one resource
of this resource type.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
When
true , specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission. |
void |
setAssociationStatus(String associationStatus)
Specifies that you want to list only those associations with resource shares that match this status.
|
void |
setDefaultVersion(Boolean defaultVersion)
When
true , specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission. |
void |
setFeatureSet(String featureSet)
Specifies that you want to list only those associations with resource shares that have a
featureSet
with this value. |
void |
setMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
void |
setNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
void |
setPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the managed permission.
|
void |
setPermissionVersion(Integer permissionVersion)
Specifies that you want to list only those associations with resource shares that use this version of the managed
permission.
|
void |
setResourceType(String resourceType)
Specifies that you want to list only those associations with resource shares that include at least one resource
of this resource type.
|
String |
toString()
Returns a string representation of this object.
|
ListPermissionAssociationsRequest |
withAssociationStatus(ResourceShareAssociationStatus associationStatus)
Specifies that you want to list only those associations with resource shares that match this status.
|
ListPermissionAssociationsRequest |
withAssociationStatus(String associationStatus)
Specifies that you want to list only those associations with resource shares that match this status.
|
ListPermissionAssociationsRequest |
withDefaultVersion(Boolean defaultVersion)
When
true , specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission. |
ListPermissionAssociationsRequest |
withFeatureSet(PermissionFeatureSet featureSet)
Specifies that you want to list only those associations with resource shares that have a
featureSet
with this value. |
ListPermissionAssociationsRequest |
withFeatureSet(String featureSet)
Specifies that you want to list only those associations with resource shares that have a
featureSet
with this value. |
ListPermissionAssociationsRequest |
withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response.
|
ListPermissionAssociationsRequest |
withNextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
ListPermissionAssociationsRequest |
withPermissionArn(String permissionArn)
Specifies the Amazon
Resource Name (ARN) of the managed permission.
|
ListPermissionAssociationsRequest |
withPermissionVersion(Integer permissionVersion)
Specifies that you want to list only those associations with resource shares that use this version of the managed
permission.
|
ListPermissionAssociationsRequest |
withResourceType(String resourceType)
Specifies that you want to list only those associations with resource shares that include at least one resource
of this resource type.
|
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 setPermissionArn(String permissionArn)
Specifies the Amazon Resource Name (ARN) of the managed permission.
permissionArn
- Specifies the Amazon
Resource Name (ARN) of the managed permission.public String getPermissionArn()
Specifies the Amazon Resource Name (ARN) of the managed permission.
public ListPermissionAssociationsRequest withPermissionArn(String permissionArn)
Specifies the Amazon Resource Name (ARN) of the managed permission.
permissionArn
- Specifies the Amazon
Resource Name (ARN) of the managed permission.public void setPermissionVersion(Integer permissionVersion)
Specifies that you want to list only those associations with resource shares that use this version of the managed permission. If you don't provide a value for this parameter, then the operation returns information about associations with resource shares that use any version of the managed permission.
permissionVersion
- Specifies that you want to list only those associations with resource shares that use this version of the
managed permission. If you don't provide a value for this parameter, then the operation returns
information about associations with resource shares that use any version of the managed permission.public Integer getPermissionVersion()
Specifies that you want to list only those associations with resource shares that use this version of the managed permission. If you don't provide a value for this parameter, then the operation returns information about associations with resource shares that use any version of the managed permission.
public ListPermissionAssociationsRequest withPermissionVersion(Integer permissionVersion)
Specifies that you want to list only those associations with resource shares that use this version of the managed permission. If you don't provide a value for this parameter, then the operation returns information about associations with resource shares that use any version of the managed permission.
permissionVersion
- Specifies that you want to list only those associations with resource shares that use this version of the
managed permission. If you don't provide a value for this parameter, then the operation returns
information about associations with resource shares that use any version of the managed permission.public void setAssociationStatus(String associationStatus)
Specifies that you want to list only those associations with resource shares that match this status.
associationStatus
- Specifies that you want to list only those associations with resource shares that match this status.ResourceShareAssociationStatus
public String getAssociationStatus()
Specifies that you want to list only those associations with resource shares that match this status.
ResourceShareAssociationStatus
public ListPermissionAssociationsRequest withAssociationStatus(String associationStatus)
Specifies that you want to list only those associations with resource shares that match this status.
associationStatus
- Specifies that you want to list only those associations with resource shares that match this status.ResourceShareAssociationStatus
public ListPermissionAssociationsRequest withAssociationStatus(ResourceShareAssociationStatus associationStatus)
Specifies that you want to list only those associations with resource shares that match this status.
associationStatus
- Specifies that you want to list only those associations with resource shares that match this status.ResourceShareAssociationStatus
public void setResourceType(String resourceType)
Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type.
resourceType
- Specifies that you want to list only those associations with resource shares that include at least one
resource of this resource type.public String getResourceType()
Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type.
public ListPermissionAssociationsRequest withResourceType(String resourceType)
Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type.
resourceType
- Specifies that you want to list only those associations with resource shares that include at least one
resource of this resource type.public void setFeatureSet(String featureSet)
Specifies that you want to list only those associations with resource shares that have a featureSet
with this value.
featureSet
- Specifies that you want to list only those associations with resource shares that have a
featureSet
with this value.PermissionFeatureSet
public String getFeatureSet()
Specifies that you want to list only those associations with resource shares that have a featureSet
with this value.
featureSet
with this value.PermissionFeatureSet
public ListPermissionAssociationsRequest withFeatureSet(String featureSet)
Specifies that you want to list only those associations with resource shares that have a featureSet
with this value.
featureSet
- Specifies that you want to list only those associations with resource shares that have a
featureSet
with this value.PermissionFeatureSet
public ListPermissionAssociationsRequest withFeatureSet(PermissionFeatureSet featureSet)
Specifies that you want to list only those associations with resource shares that have a featureSet
with this value.
featureSet
- Specifies that you want to list only those associations with resource shares that have a
featureSet
with this value.PermissionFeatureSet
public void setDefaultVersion(Boolean defaultVersion)
When true
, specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version of the
specified managed permission.
defaultVersion
- When true
, specifies that you want to list only those associations with resource shares that
use the default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version
of the specified managed permission.
public Boolean getDefaultVersion()
When true
, specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version of the
specified managed permission.
true
, specifies that you want to list only those associations with resource shares that
use the default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version
of the specified managed permission.
public ListPermissionAssociationsRequest withDefaultVersion(Boolean defaultVersion)
When true
, specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version of the
specified managed permission.
defaultVersion
- When true
, specifies that you want to list only those associations with resource shares that
use the default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version
of the specified managed permission.
public Boolean isDefaultVersion()
When true
, specifies that you want to list only those associations with resource shares that use the
default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version of the
specified managed permission.
true
, specifies that you want to list only those associations with resource shares that
use the default version of the specified managed permission.
When false
(the default value), lists associations with resource shares that use any version
of the specified managed permission.
public void setNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public String getNextToken()
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.public ListPermissionAssociationsRequest withNextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a NextToken
response in the previous request. If you did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to request the next page of results.
nextToken
- Specifies that you want to receive the next page of results. Valid only if you received a
NextToken
response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response
to request the next page of results.public void setMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
maxResults
- Specifies the total number of results that you want included on each page of the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the number you specify, the NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public Integer getMaxResults()
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after every operation to ensure that you receive all of the results.public ListPermissionAssociationsRequest withMaxResults(Integer maxResults)
Specifies the total number of results that you want included on each page of the response. If you do not include
this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the
number you specify, the NextToken
response element is returned with a value (not null). Include the
specified value as the NextToken
request parameter in the next call to the operation to get the next
part of the results. Note that the service might return fewer results than the maximum even when there are more
results available. You should check NextToken
after every operation to ensure that you receive all
of the results.
maxResults
- Specifies the total number of results that you want included on each page of the response. If you do not
include this parameter, it defaults to a value that is specific to the operation. If additional items
exist beyond the number you specify, the NextToken
response element is returned with a value
(not null). Include the specified value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that the service might return fewer results
than the maximum even when there are more results available. You should check NextToken
after
every operation to ensure that you receive all of the results.public String toString()
toString
in class Object
Object.toString()
public ListPermissionAssociationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()