Class DeleteResourcePermissionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssmsap.model.SsmSapRequest
-
- software.amazon.awssdk.services.ssmsap.model.DeleteResourcePermissionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteResourcePermissionRequest.Builder,DeleteResourcePermissionRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteResourcePermissionRequest extends SsmSapRequest implements ToCopyableBuilder<DeleteResourcePermissionRequest.Builder,DeleteResourcePermissionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteResourcePermissionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionActionTypeactionType()Delete or restore the permissions on the target database.StringactionTypeAsString()Delete or restore the permissions on the target database.static DeleteResourcePermissionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()The Amazon Resource Name (ARN) of the resource.List<SdkField<?>>sdkFields()static Class<? extends DeleteResourcePermissionRequest.Builder>serializableBuilderClass()StringsourceResourceArn()The Amazon Resource Name (ARN) of the source resource.DeleteResourcePermissionRequest.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
-
actionType
public final PermissionActionType actionType()
Delete or restore the permissions on the target database.
If the service returns an enum value that is not available in the current SDK version,
actionTypewill returnPermissionActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionTypeAsString().- Returns:
- Delete or restore the permissions on the target database.
- See Also:
PermissionActionType
-
actionTypeAsString
public final String actionTypeAsString()
Delete or restore the permissions on the target database.
If the service returns an enum value that is not available in the current SDK version,
actionTypewill returnPermissionActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionTypeAsString().- Returns:
- Delete or restore the permissions on the target database.
- See Also:
PermissionActionType
-
sourceResourceArn
public final String sourceResourceArn()
The Amazon Resource Name (ARN) of the source resource.
- Returns:
- The Amazon Resource Name (ARN) of the source resource.
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the resource.
- Returns:
- The Amazon Resource Name (ARN) of the resource.
-
toBuilder
public DeleteResourcePermissionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteResourcePermissionRequest.Builder,DeleteResourcePermissionRequest>- Specified by:
toBuilderin classSsmSapRequest
-
builder
public static DeleteResourcePermissionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteResourcePermissionRequest.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
-
-