Class ListPermissionsRequest
- 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.ListPermissionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPermissionsRequest extends RamRequest implements ToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPermissionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPermissionsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<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.PermissionTypeFilterpermissionType()Specifies that you want to list only permissions of this type:StringpermissionTypeAsString()Specifies that you want to list only permissions of this type:StringresourceType()Specifies that you want to list only those permissions that apply to the specified resource type.List<SdkField<?>>sdkFields()static Class<? extends ListPermissionsRequest.Builder>serializableBuilderClass()ListPermissionsRequest.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
-
resourceType
public final String resourceType()
Specifies that you want to list only those permissions that apply to the specified resource type. This parameter is not case sensitive.
For example, to list only permissions that apply to Amazon EC2 subnets, specify
ec2:subnet. You can use the ListResourceTypes operation to get the specific string required.- Returns:
- Specifies that you want to list only those permissions that apply to the specified resource type. This
parameter is not case sensitive.
For example, to list only permissions that apply to Amazon EC2 subnets, specify
ec2:subnet. You can use the ListResourceTypes operation to get the specific string required.
-
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.
-
permissionType
public final PermissionTypeFilter permissionType()
Specifies that you want to list only permissions of this type:
-
AWS– returns only Amazon Web Services managed permissions. -
LOCAL– returns only customer managed permissions -
ALL– returns both Amazon Web Services managed permissions and customer managed permissions.
If you don't specify this parameter, the default is
All.If the service returns an enum value that is not available in the current SDK version,
permissionTypewill returnPermissionTypeFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionTypeAsString().- Returns:
- Specifies that you want to list only permissions of this type:
-
AWS– returns only Amazon Web Services managed permissions. -
LOCAL– returns only customer managed permissions -
ALL– returns both Amazon Web Services managed permissions and customer managed permissions.
If you don't specify this parameter, the default is
All. -
- See Also:
PermissionTypeFilter
-
-
permissionTypeAsString
public final String permissionTypeAsString()
Specifies that you want to list only permissions of this type:
-
AWS– returns only Amazon Web Services managed permissions. -
LOCAL– returns only customer managed permissions -
ALL– returns both Amazon Web Services managed permissions and customer managed permissions.
If you don't specify this parameter, the default is
All.If the service returns an enum value that is not available in the current SDK version,
permissionTypewill returnPermissionTypeFilter.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompermissionTypeAsString().- Returns:
- Specifies that you want to list only permissions of this type:
-
AWS– returns only Amazon Web Services managed permissions. -
LOCAL– returns only customer managed permissions -
ALL– returns both Amazon Web Services managed permissions and customer managed permissions.
If you don't specify this parameter, the default is
All. -
- See Also:
PermissionTypeFilter
-
-
toBuilder
public ListPermissionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPermissionsRequest.Builder,ListPermissionsRequest>- Specified by:
toBuilderin classRamRequest
-
builder
public static ListPermissionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPermissionsRequest.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
-
-