Class CloudServiceVaultAndSecretReference
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.CloudServiceVaultAndSecretReference
-
public final class CloudServiceVaultAndSecretReference extends Object
The CloudServiceVaultAndSecretReference model.
-
-
Constructor Summary
Constructors Constructor Description CloudServiceVaultAndSecretReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringsecretUrl()Get the secretUrl property: The secretUrl property.com.azure.core.management.SubResourcesourceVault()Get the sourceVault property: The sourceVault property.voidvalidate()Validates the instance.CloudServiceVaultAndSecretReferencewithSecretUrl(String secretUrl)Set the secretUrl property: The secretUrl property.CloudServiceVaultAndSecretReferencewithSourceVault(com.azure.core.management.SubResource sourceVault)Set the sourceVault property: The sourceVault property.
-
-
-
Method Detail
-
sourceVault
public com.azure.core.management.SubResource sourceVault()
Get the sourceVault property: The sourceVault property.- Returns:
- the sourceVault value.
-
withSourceVault
public CloudServiceVaultAndSecretReference withSourceVault(com.azure.core.management.SubResource sourceVault)
Set the sourceVault property: The sourceVault property.- Parameters:
sourceVault- the sourceVault value to set.- Returns:
- the CloudServiceVaultAndSecretReference object itself.
-
secretUrl
public String secretUrl()
Get the secretUrl property: The secretUrl property.- Returns:
- the secretUrl value.
-
withSecretUrl
public CloudServiceVaultAndSecretReference withSecretUrl(String secretUrl)
Set the secretUrl property: The secretUrl property.- Parameters:
secretUrl- the secretUrl value to set.- Returns:
- the CloudServiceVaultAndSecretReference object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-