Class ListPoliciesRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsRequest
-
- software.amazon.awssdk.services.verifiedpermissions.model.ListPoliciesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPoliciesRequest.Builder,ListPoliciesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPoliciesRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<ListPoliciesRequest.Builder,ListPoliciesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPoliciesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPoliciesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)PolicyFilterfilter()Specifies a filter that limits the response to only policies that match the specified criteria.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()Specifies the total number of results that you want included in each response.StringnextToken()Specifies that you want to receive the next page of results.StringpolicyStoreId()Specifies the ID of the policy store you want to list policies from.List<SdkField<?>>sdkFields()static Class<? extends ListPoliciesRequest.Builder>serializableBuilderClass()ListPoliciesRequest.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
-
policyStoreId
public final String policyStoreId()
Specifies the ID of the policy store you want to list policies from.
- Returns:
- Specifies the ID of the policy store you want to list policies from.
-
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 in each response. 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 set of 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.If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
- Returns:
- Specifies the total number of results that you want included in each response. 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 set of 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.If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
-
filter
public final PolicyFilter filter()
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
- Returns:
- Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
-
toBuilder
public ListPoliciesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPoliciesRequest.Builder,ListPoliciesRequest>- Specified by:
toBuilderin classVerifiedPermissionsRequest
-
builder
public static ListPoliciesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPoliciesRequest.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
-
-