Class ListPolicyGrantsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.datazone.model.DataZoneRequest
-
- software.amazon.awssdk.services.datazone.model.ListPolicyGrantsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPolicyGrantsRequest.Builder,ListPolicyGrantsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPolicyGrantsRequest extends DataZoneRequest implements ToCopyableBuilder<ListPolicyGrantsRequest.Builder,ListPolicyGrantsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPolicyGrantsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPolicyGrantsRequest.Builderbuilder()StringdomainIdentifier()The ID of the domain where you want to list policy grants.StringentityIdentifier()The ID of the entity for which you want to list policy grants.TargetEntityTypeentityType()The type of entity for which you want to list policy grants.StringentityTypeAsString()The type of entity for which you want to list policy grants.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of grants to return in a single call toListPolicyGrants.StringnextToken()When the number of grants is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of grants, the response includes a pagination token namedNextToken.ManagedPolicyTypepolicyType()The type of policy that you want to list.StringpolicyTypeAsString()The type of policy that you want to list.List<SdkField<?>>sdkFields()static Class<? extends ListPolicyGrantsRequest.Builder>serializableBuilderClass()ListPolicyGrantsRequest.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
-
domainIdentifier
public final String domainIdentifier()
The ID of the domain where you want to list policy grants.
- Returns:
- The ID of the domain where you want to list policy grants.
-
entityIdentifier
public final String entityIdentifier()
The ID of the entity for which you want to list policy grants.
- Returns:
- The ID of the entity for which you want to list policy grants.
-
entityType
public final TargetEntityType entityType()
The type of entity for which you want to list policy grants.
If the service returns an enum value that is not available in the current SDK version,
entityTypewill returnTargetEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromentityTypeAsString().- Returns:
- The type of entity for which you want to list policy grants.
- See Also:
TargetEntityType
-
entityTypeAsString
public final String entityTypeAsString()
The type of entity for which you want to list policy grants.
If the service returns an enum value that is not available in the current SDK version,
entityTypewill returnTargetEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromentityTypeAsString().- Returns:
- The type of entity for which you want to list policy grants.
- See Also:
TargetEntityType
-
maxResults
public final Integer maxResults()
The maximum number of grants to return in a single call to
ListPolicyGrants. When the number of grants to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListPolicyGrantsto list the next set of grants.- Returns:
- The maximum number of grants to return in a single call to
ListPolicyGrants. When the number of grants to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListPolicyGrantsto list the next set of grants.
-
nextToken
public final String nextToken()
When the number of grants is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of grants, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListPolicyGrantsto list the next set of grants.- Returns:
- When the number of grants is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of grants, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListPolicyGrantsto list the next set of grants.
-
policyType
public final ManagedPolicyType policyType()
The type of policy that you want to list.
If the service returns an enum value that is not available in the current SDK version,
policyTypewill returnManagedPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The type of policy that you want to list.
- See Also:
ManagedPolicyType
-
policyTypeAsString
public final String policyTypeAsString()
The type of policy that you want to list.
If the service returns an enum value that is not available in the current SDK version,
policyTypewill returnManagedPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompolicyTypeAsString().- Returns:
- The type of policy that you want to list.
- See Also:
ManagedPolicyType
-
toBuilder
public ListPolicyGrantsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPolicyGrantsRequest.Builder,ListPolicyGrantsRequest>- Specified by:
toBuilderin classDataZoneRequest
-
builder
public static ListPolicyGrantsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPolicyGrantsRequest.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
-
-