Class CloudLinkProperties
- java.lang.Object
-
- com.azure.resourcemanager.avs.fluent.models.CloudLinkProperties
-
public final class CloudLinkProperties extends Object
The properties of a cloud link.
-
-
Constructor Summary
Constructors Constructor Description CloudLinkProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
linkedCloud()
Get the linkedCloud property: Identifier of the other private cloud participating in the link.CloudLinkStatus
status()
Get the status property: The state of the cloud link.void
validate()
Validates the instance.CloudLinkProperties
withLinkedCloud(String linkedCloud)
Set the linkedCloud property: Identifier of the other private cloud participating in the link.
-
-
-
Method Detail
-
status
public CloudLinkStatus status()
Get the status property: The state of the cloud link.- Returns:
- the status value.
-
linkedCloud
public String linkedCloud()
Get the linkedCloud property: Identifier of the other private cloud participating in the link.- Returns:
- the linkedCloud value.
-
withLinkedCloud
public CloudLinkProperties withLinkedCloud(String linkedCloud)
Set the linkedCloud property: Identifier of the other private cloud participating in the link.- Parameters:
linkedCloud
- the linkedCloud value to set.- Returns:
- the CloudLinkProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-