Partilhar via


ShareDeleteOptions Class

  • java.lang.Object
    • com.azure.storage.file.share.options.ShareDeleteOptions

public class ShareDeleteOptions

Extended options that may be passed when deleting a share.

Constructor Summary

Constructor Description
ShareDeleteOptions()

Creates a new instance of ShareDeleteOptions.

Method Summary

Modifier and Type Method and Description
ShareSnapshotsDeleteOptionType getDeleteSnapshotsOptions()

Gets the ShareSnapshotsDeleteOptionType.

ShareRequestConditions getRequestConditions()

Gets the ShareRequestConditions.

ShareDeleteOptions setDeleteSnapshotsOptions(ShareSnapshotsDeleteOptionType deleteSnapshotsOptions)

Sets the ShareSnapshotsDeleteOptionType.

ShareDeleteOptions setRequestConditions(ShareRequestConditions requestConditions)

Sets the ShareRequestConditions.

Methods inherited from java.lang.Object

Constructor Details

ShareDeleteOptions

public ShareDeleteOptions()

Creates a new instance of ShareDeleteOptions.

Method Details

getDeleteSnapshotsOptions

public ShareSnapshotsDeleteOptionType getDeleteSnapshotsOptions()

Gets the ShareSnapshotsDeleteOptionType.

Returns:

getRequestConditions

public ShareRequestConditions getRequestConditions()

Gets the ShareRequestConditions.

Returns:

setDeleteSnapshotsOptions

public ShareDeleteOptions setDeleteSnapshotsOptions(ShareSnapshotsDeleteOptionType deleteSnapshotsOptions)

Sets the ShareSnapshotsDeleteOptionType.

Parameters:

deleteSnapshotsOptions - ShareSnapshotsDeleteOptionType

Returns:

The updated options.

setRequestConditions

public ShareDeleteOptions setRequestConditions(ShareRequestConditions requestConditions)

Sets the ShareRequestConditions.

Parameters:

requestConditions - ShareRequestConditions.

Returns:

The updated options.

Applies to