Class TargetCopySetting
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.TargetCopySetting
-
public final class TargetCopySetting extends Object
TargetCopySetting Target copy settings.
-
-
Constructor Summary
Constructors Constructor Description TargetCopySetting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyOption
copyAfter()
Get the copyAfter property: CopyOption It can be CustomCopyOption or ImmediateCopyOption.DataStoreInfoBase
dataStore()
Get the dataStore property: DataStoreInfoBase Info of target datastore.void
validate()
Validates the instance.TargetCopySetting
withCopyAfter(CopyOption copyAfter)
Set the copyAfter property: CopyOption It can be CustomCopyOption or ImmediateCopyOption.TargetCopySetting
withDataStore(DataStoreInfoBase dataStore)
Set the dataStore property: DataStoreInfoBase Info of target datastore.
-
-
-
Method Detail
-
copyAfter
public CopyOption copyAfter()
Get the copyAfter property: CopyOption It can be CustomCopyOption or ImmediateCopyOption.- Returns:
- the copyAfter value.
-
withCopyAfter
public TargetCopySetting withCopyAfter(CopyOption copyAfter)
Set the copyAfter property: CopyOption It can be CustomCopyOption or ImmediateCopyOption.- Parameters:
copyAfter
- the copyAfter value to set.- Returns:
- the TargetCopySetting object itself.
-
dataStore
public DataStoreInfoBase dataStore()
Get the dataStore property: DataStoreInfoBase Info of target datastore.- Returns:
- the dataStore value.
-
withDataStore
public TargetCopySetting withDataStore(DataStoreInfoBase dataStore)
Set the dataStore property: DataStoreInfoBase Info 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.
-
-