Class ListPermissionAssociationsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ram.model.RamRequest
-
- software.amazon.awssdk.services.ram.model.ListPermissionAssociationsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPermissionAssociationsRequest.Builder,ListPermissionAssociationsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPermissionAssociationsRequest extends RamRequest implements ToCopyableBuilder<ListPermissionAssociationsRequest.Builder,ListPermissionAssociationsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPermissionAssociationsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceShareAssociationStatusassociationStatus()Specifies that you want to list only those associations with resource shares that match this status.StringassociationStatusAsString()Specifies that you want to list only those associations with resource shares that match this status.static ListPermissionAssociationsRequest.Builderbuilder()BooleandefaultVersion()Whentrue, specifies that you want to list only those associations with resource shares that use the default version of the specified managed permission.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)PermissionFeatureSetfeatureSet()Specifies that you want to list only those associations with resource shares that have afeatureSetwith this value.StringfeatureSetAsString()Specifies that you want to list only those associations with resource shares that have afeatureSetwith this value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()Specifies the total number of results that you want included on each page of the response.StringnextToken()Specifies that you want to receive the next page of results.StringpermissionArn()Specifies the Amazon Resource Name (ARN) of the managed permission.IntegerpermissionVersion()Specifies that you want to list only those associations with resource shares that use this version of the managed permission.StringresourceType()Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type.List<SdkField<?>>sdkFields()static Class<? extends ListPermissionAssociationsRequest.Builder>serializableBuilderClass()ListPermissionAssociationsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
permissionArn
public final String permissionArn()
Specifies the Amazon Resource Name (ARN) of the managed permission.
- Returns:
- Specifies the Amazon Resource Name (ARN) of the managed permission.
-
permissionVersion
public final 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.
- Returns:
- 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.
-
associationStatus
public final ResourceShareAssociationStatus associationStatus()
Specifies that you want to list only those associations with resource shares that match this status.
If the service returns an enum value that is not available in the current SDK version,
associationStatuswill returnResourceShareAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationStatusAsString().- Returns:
- Specifies that you want to list only those associations with resource shares that match this status.
- See Also:
ResourceShareAssociationStatus
-
associationStatusAsString
public final String associationStatusAsString()
Specifies that you want to list only those associations with resource shares that match this status.
If the service returns an enum value that is not available in the current SDK version,
associationStatuswill returnResourceShareAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationStatusAsString().- Returns:
- Specifies that you want to list only those associations with resource shares that match this status.
- See Also:
ResourceShareAssociationStatus
-
resourceType
public final String resourceType()
Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type.
- Returns:
- Specifies that you want to list only those associations with resource shares that include at least one resource of this resource type.
-
featureSet
public final PermissionFeatureSet featureSet()
Specifies that you want to list only those associations with resource shares that have a
featureSetwith this value.If the service returns an enum value that is not available in the current SDK version,
featureSetwill returnPermissionFeatureSet.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureSetAsString().- Returns:
- Specifies that you want to list only those associations with resource shares that have a
featureSetwith this value. - See Also:
PermissionFeatureSet
-
featureSetAsString
public final String featureSetAsString()
Specifies that you want to list only those associations with resource shares that have a
featureSetwith this value.If the service returns an enum value that is not available in the current SDK version,
featureSetwill returnPermissionFeatureSet.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfeatureSetAsString().- Returns:
- Specifies that you want to list only those associations with resource shares that have a
featureSetwith this value. - See Also:
PermissionFeatureSet
-
defaultVersion
public final 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.- Returns:
- 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.
-
nextToken
public final String nextToken()
Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse 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'sNextTokenresponse to request the next page of results.- Returns:
- Specifies that you want to receive the next page of results. Valid only if you received a
NextTokenresponse 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'sNextTokenresponse to request the next page of results.
-
maxResults
public final 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
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest 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 checkNextTokenafter every operation to ensure that you receive all of the results.- Returns:
- 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
NextTokenresponse element is returned with a value (not null). Include the specified value as theNextTokenrequest 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 checkNextTokenafter every operation to ensure that you receive all of the results.
-
toBuilder
public ListPermissionAssociationsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPermissionAssociationsRequest.Builder,ListPermissionAssociationsRequest>- Specified by:
toBuilderin classRamRequest
-
builder
public static ListPermissionAssociationsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPermissionAssociationsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-