Class RemovePolicyGrantRequest
- 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.RemovePolicyGrantRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RemovePolicyGrantRequest.Builder,RemovePolicyGrantRequest>
@Generated("software.amazon.awssdk:codegen") public final class RemovePolicyGrantRequest extends DataZoneRequest implements ToCopyableBuilder<RemovePolicyGrantRequest.Builder,RemovePolicyGrantRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemovePolicyGrantRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemovePolicyGrantRequest.Builderbuilder()StringclientToken()A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.StringdomainIdentifier()The ID of the domain where you want to remove a policy grant.StringentityIdentifier()The ID of the entity from which you want to remove a policy grant.TargetEntityTypeentityType()The type of the entity from which you want to remove a policy grant.StringentityTypeAsString()The type of the entity from which you want to remove a policy grant.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ManagedPolicyTypepolicyType()The type of the policy that you want to remove.StringpolicyTypeAsString()The type of the policy that you want to remove.PolicyGrantPrincipalprincipal()The principal from which you want to remove a policy grant.List<SdkField<?>>sdkFields()static Class<? extends RemovePolicyGrantRequest.Builder>serializableBuilderClass()RemovePolicyGrantRequest.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
-
clientToken
public final String clientToken()
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Returns:
- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
-
domainIdentifier
public final String domainIdentifier()
The ID of the domain where you want to remove a policy grant.
- Returns:
- The ID of the domain where you want to remove a policy grant.
-
entityIdentifier
public final String entityIdentifier()
The ID of the entity from which you want to remove a policy grant.
- Returns:
- The ID of the entity from which you want to remove a policy grant.
-
entityType
public final TargetEntityType entityType()
The type of the entity from which you want to remove a policy grant.
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 the entity from which you want to remove a policy grant.
- See Also:
TargetEntityType
-
entityTypeAsString
public final String entityTypeAsString()
The type of the entity from which you want to remove a policy grant.
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 the entity from which you want to remove a policy grant.
- See Also:
TargetEntityType
-
policyType
public final ManagedPolicyType policyType()
The type of the policy that you want to remove.
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 the policy that you want to remove.
- See Also:
ManagedPolicyType
-
policyTypeAsString
public final String policyTypeAsString()
The type of the policy that you want to remove.
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 the policy that you want to remove.
- See Also:
ManagedPolicyType
-
principal
public final PolicyGrantPrincipal principal()
The principal from which you want to remove a policy grant.
- Returns:
- The principal from which you want to remove a policy grant.
-
toBuilder
public RemovePolicyGrantRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RemovePolicyGrantRequest.Builder,RemovePolicyGrantRequest>- Specified by:
toBuilderin classDataZoneRequest
-
builder
public static RemovePolicyGrantRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RemovePolicyGrantRequest.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
-
-