Class ListPermissionVersionsRequest
- 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.ListPermissionVersionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPermissionVersionsRequest.Builder,ListPermissionVersionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPermissionVersionsRequest extends RamRequest implements ToCopyableBuilder<ListPermissionVersionsRequest.Builder,ListPermissionVersionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPermissionVersionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPermissionVersionsRequest.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.StringpermissionArn()Specifies the Amazon Resource Name (ARN) of the RAM permission whose versions you want to list.List<SdkField<?>>sdkFields()static Class<? extends ListPermissionVersionsRequest.Builder>serializableBuilderClass()ListPermissionVersionsRequest.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 RAM permission whose versions you want to list. You can use the
permissionVersionparameter on the AssociateResourceSharePermission operation to specify a non-default version to attach.- Returns:
- Specifies the Amazon
Resource Name (ARN) of the RAM permission whose versions you want to list. You can use the
permissionVersionparameter on the AssociateResourceSharePermission operation to specify a non-default version to attach.
-
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 ListPermissionVersionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPermissionVersionsRequest.Builder,ListPermissionVersionsRequest>- Specified by:
toBuilderin classRamRequest
-
builder
public static ListPermissionVersionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPermissionVersionsRequest.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
-
-