ServerEndpointUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.fluent.models.ServerEndpointUpdateProperties

Implements

public final class ServerEndpointUpdateProperties
implements JsonSerializable<ServerEndpointUpdateProperties>

ServerEndpoint Update Properties object.

Constructor Summary

Constructor Description
ServerEndpointUpdateProperties()

Creates an instance of ServerEndpointUpdateProperties class.

Method Summary

Modifier and Type Method and Description
FeatureStatus cloudTiering()

Get the cloudTiering property: Cloud Tiering.

static ServerEndpointUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointUpdateProperties from the JsonReader.

LocalCacheMode localCacheMode()

Get the localCacheMode property: Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.

FeatureStatus offlineDataTransfer()

Get the offlineDataTransfer property: Offline data transfer.

String offlineDataTransferShareName()

Get the offlineDataTransferShareName property: Offline data transfer share name.

Integer tierFilesOlderThanDays()

Get the tierFilesOlderThanDays property: Tier files older than days.

JsonWriter toJson(JsonWriter jsonWriter)
Integer volumeFreeSpacePercent()

Get the volumeFreeSpacePercent property: Level of free space to be maintained by Cloud Tiering if it is enabled.

ServerEndpointUpdateProperties withCloudTiering(FeatureStatus cloudTiering)

Set the cloudTiering property: Cloud Tiering.

ServerEndpointUpdateProperties withLocalCacheMode(LocalCacheMode localCacheMode)

Set the localCacheMode property: Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.

ServerEndpointUpdateProperties withOfflineDataTransfer(FeatureStatus offlineDataTransfer)

Set the offlineDataTransfer property: Offline data transfer.

ServerEndpointUpdateProperties withOfflineDataTransferShareName(String offlineDataTransferShareName)

Set the offlineDataTransferShareName property: Offline data transfer share name.

ServerEndpointUpdateProperties withTierFilesOlderThanDays(Integer tierFilesOlderThanDays)

Set the tierFilesOlderThanDays property: Tier files older than days.

ServerEndpointUpdateProperties withVolumeFreeSpacePercent(Integer volumeFreeSpacePercent)

Set the volumeFreeSpacePercent property: Level of free space to be maintained by Cloud Tiering if it is enabled.

Methods inherited from java.lang.Object

Constructor Details

ServerEndpointUpdateProperties

public ServerEndpointUpdateProperties()

Creates an instance of ServerEndpointUpdateProperties class.

Method Details

cloudTiering

public FeatureStatus cloudTiering()

Get the cloudTiering property: Cloud Tiering.

Returns:

the cloudTiering value.

fromJson

public static ServerEndpointUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of ServerEndpointUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerEndpointUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ServerEndpointUpdateProperties.

localCacheMode

public LocalCacheMode localCacheMode()

Get the localCacheMode property: Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.

Returns:

the localCacheMode value.

offlineDataTransfer

public FeatureStatus offlineDataTransfer()

Get the offlineDataTransfer property: Offline data transfer.

Returns:

the offlineDataTransfer value.

offlineDataTransferShareName

public String offlineDataTransferShareName()

Get the offlineDataTransferShareName property: Offline data transfer share name.

Returns:

the offlineDataTransferShareName value.

tierFilesOlderThanDays

public Integer tierFilesOlderThanDays()

Get the tierFilesOlderThanDays property: Tier files older than days.

Returns:

the tierFilesOlderThanDays value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

volumeFreeSpacePercent

public Integer volumeFreeSpacePercent()

Get the volumeFreeSpacePercent property: Level of free space to be maintained by Cloud Tiering if it is enabled.

Returns:

the volumeFreeSpacePercent value.

withCloudTiering

public ServerEndpointUpdateProperties withCloudTiering(FeatureStatus cloudTiering)

Set the cloudTiering property: Cloud Tiering.

Parameters:

cloudTiering - the cloudTiering value to set.

Returns:

the ServerEndpointUpdateProperties object itself.

withLocalCacheMode

public ServerEndpointUpdateProperties withLocalCacheMode(LocalCacheMode localCacheMode)

Set the localCacheMode property: Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.

Parameters:

localCacheMode - the localCacheMode value to set.

Returns:

the ServerEndpointUpdateProperties object itself.

withOfflineDataTransfer

public ServerEndpointUpdateProperties withOfflineDataTransfer(FeatureStatus offlineDataTransfer)

Set the offlineDataTransfer property: Offline data transfer.

Parameters:

offlineDataTransfer - the offlineDataTransfer value to set.

Returns:

the ServerEndpointUpdateProperties object itself.

withOfflineDataTransferShareName

public ServerEndpointUpdateProperties withOfflineDataTransferShareName(String offlineDataTransferShareName)

Set the offlineDataTransferShareName property: Offline data transfer share name.

Parameters:

offlineDataTransferShareName - the offlineDataTransferShareName value to set.

Returns:

the ServerEndpointUpdateProperties object itself.

withTierFilesOlderThanDays

public ServerEndpointUpdateProperties withTierFilesOlderThanDays(Integer tierFilesOlderThanDays)

Set the tierFilesOlderThanDays property: Tier files older than days.

Parameters:

tierFilesOlderThanDays - the tierFilesOlderThanDays value to set.

Returns:

the ServerEndpointUpdateProperties object itself.

withVolumeFreeSpacePercent

public ServerEndpointUpdateProperties withVolumeFreeSpacePercent(Integer volumeFreeSpacePercent)

Set the volumeFreeSpacePercent property: Level of free space to be maintained by Cloud Tiering if it is enabled.

Parameters:

volumeFreeSpacePercent - the volumeFreeSpacePercent value to set.

Returns:

the ServerEndpointUpdateProperties object itself.

Applies to