Class ListPolicyTemplatesRequest
- 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.ListPolicyTemplatesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPolicyTemplatesRequest.Builder,ListPolicyTemplatesRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPolicyTemplatesRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<ListPolicyTemplatesRequest.Builder,ListPolicyTemplatesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPolicyTemplatesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPolicyTemplatesRequest.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 in each response.StringnextToken()Specifies that you want to receive the next page of results.StringpolicyStoreId()Specifies the ID of the policy store that contains the policy templates you want to list.List<SdkField<?>>sdkFields()static Class<? extends ListPolicyTemplatesRequest.Builder>serializableBuilderClass()ListPolicyTemplatesRequest.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 that contains the policy templates you want to list.
- Returns:
- Specifies the ID of the policy store that contains the policy templates you want to list.
-
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 policy templates per response. You can specify a maximum of 50 policy templates 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 policy templates per response. You can specify a maximum of 50 policy templates per response.
-
toBuilder
public ListPolicyTemplatesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPolicyTemplatesRequest.Builder,ListPolicyTemplatesRequest>- Specified by:
toBuilderin classVerifiedPermissionsRequest
-
builder
public static ListPolicyTemplatesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPolicyTemplatesRequest.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
-
-