TargetLocation Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. TargetLocation
- com.
Implements
public final class TargetLocation
implements JsonSerializable<TargetLocation>
Target Location details for optional copy of backups.
Constructor Summary
| Constructor | Description |
|---|---|
| TargetLocation() |
Creates an instance of Target |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accountKey()
Get the account |
|
static
Target |
fromJson(JsonReader jsonReader)
Reads an instance of Target |
| String |
storageAccountResourceId()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Target |
withAccountKey(String accountKey)
Set the account |
|
Target |
withStorageAccountResourceId(String storageAccountResourceId)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
TargetLocation
public TargetLocation()
Creates an instance of TargetLocation class.
Method Details
accountKey
public String accountKey()
Get the accountKey property: Storage Account Key.
Returns:
fromJson
public static TargetLocation fromJson(JsonReader jsonReader)
Reads an instance of TargetLocation from the JsonReader.
Parameters:
Returns:
Throws:
storageAccountResourceId
public String storageAccountResourceId()
Get the storageAccountResourceId property: Resource Id of the storage account copying backups.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAccountKey
public TargetLocation withAccountKey(String accountKey)
Set the accountKey property: Storage Account Key.
Parameters:
Returns:
withStorageAccountResourceId
public TargetLocation withStorageAccountResourceId(String storageAccountResourceId)
Set the storageAccountResourceId property: Resource Id of the storage account copying backups.
Parameters:
Returns: