public final class TargetRegion extends Object
Constructor and Description |
---|
TargetRegion() |
Modifier and Type | Method and Description |
---|---|
EncryptionImages |
encryption()
Get the encryption property: Optional.
|
String |
name()
Get the name property: The name of the region.
|
Integer |
regionalReplicaCount()
Get the regionalReplicaCount property: The number of replicas of the Image Version to be created per region.
|
StorageAccountType |
storageAccountType()
Get the storageAccountType property: Specifies the storage account type to be used to store the image.
|
void |
validate()
Validates the instance.
|
TargetRegion |
withEncryption(EncryptionImages encryption)
Set the encryption property: Optional.
|
TargetRegion |
withName(String name)
Set the name property: The name of the region.
|
TargetRegion |
withRegionalReplicaCount(Integer regionalReplicaCount)
Set the regionalReplicaCount property: The number of replicas of the Image Version to be created per region.
|
TargetRegion |
withStorageAccountType(StorageAccountType storageAccountType)
Set the storageAccountType property: Specifies the storage account type to be used to store the image.
|
public String name()
public TargetRegion withName(String name)
name
- the name value to set.public Integer regionalReplicaCount()
public TargetRegion withRegionalReplicaCount(Integer regionalReplicaCount)
regionalReplicaCount
- the regionalReplicaCount value to set.public StorageAccountType storageAccountType()
public TargetRegion withStorageAccountType(StorageAccountType storageAccountType)
storageAccountType
- the storageAccountType value to set.public EncryptionImages encryption()
public TargetRegion withEncryption(EncryptionImages encryption)
encryption
- the encryption value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.