Class TargetCopySetting
java.lang.Object
com.azure.resourcemanager.dataprotection.models.TargetCopySetting
TargetCopySetting
Target copy settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the copyAfter property: CopyOptionGet the dataStore property: DataStoreInfoBasevoid
validate()
Validates the instance.withCopyAfter
(CopyOption copyAfter) Set the copyAfter property: CopyOptionwithDataStore
(DataStoreInfoBase dataStore) Set the dataStore property: DataStoreInfoBase
-
Constructor Details
-
TargetCopySetting
public TargetCopySetting()Creates an instance of TargetCopySetting class.
-
-
Method Details
-
copyAfter
Get the copyAfter property: CopyOptionIt can be CustomCopyOption or ImmediateCopyOption.
- Returns:
- the copyAfter value.
-
withCopyAfter
Set the copyAfter property: CopyOptionIt can be CustomCopyOption or ImmediateCopyOption.
- Parameters:
copyAfter
- the copyAfter value to set.- Returns:
- the TargetCopySetting object itself.
-
dataStore
Get the dataStore property: DataStoreInfoBaseInfo of target datastore.
- Returns:
- the dataStore value.
-
withDataStore
Set the dataStore property: DataStoreInfoBaseInfo of target datastore.
- Parameters:
dataStore
- the dataStore value to set.- Returns:
- the TargetCopySetting object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-