Class DeleteFileShareRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest
-
- software.amazon.awssdk.services.storagegateway.model.DeleteFileShareRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteFileShareRequest.Builder,DeleteFileShareRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteFileShareRequest extends StorageGatewayRequest implements ToCopyableBuilder<DeleteFileShareRequest.Builder,DeleteFileShareRequest>
DeleteFileShareInput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteFileShareRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteFileShareRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileShareARN()The Amazon Resource Name (ARN) of the file share to be deleted.BooleanforceDelete()If this value is set totrue, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteFileShareRequest.Builder>serializableBuilderClass()DeleteFileShareRequest.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
-
fileShareARN
public final String fileShareARN()
The Amazon Resource Name (ARN) of the file share to be deleted.
- Returns:
- The Amazon Resource Name (ARN) of the file share to be deleted.
-
forceDelete
public final Boolean forceDelete()
If this value is set to
true, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters theFORCE_DELETINGstatus.Valid Values:
true|false- Returns:
- If this value is set to
true, the operation deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters theFORCE_DELETINGstatus.Valid Values:
true|false
-
toBuilder
public DeleteFileShareRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteFileShareRequest.Builder,DeleteFileShareRequest>- Specified by:
toBuilderin classStorageGatewayRequest
-
builder
public static DeleteFileShareRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteFileShareRequest.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
-
-