Class BastionShareableLinkInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.BastionShareableLinkInner
-
public final class BastionShareableLinkInner extends Object
Bastion Shareable Link.
-
-
Constructor Summary
Constructors Constructor Description BastionShareableLinkInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbsl()Get the bsl property: The unique Bastion Shareable Link to the virtual machine.StringcreatedAt()Get the createdAt property: The time when the link was created.Stringmessage()Get the message property: Optional field indicating the warning or error message related to the vm in case of partial failure.voidvalidate()Validates the instance.VMvm()Get the vm property: Reference of the virtual machine resource.BastionShareableLinkInnerwithVm(VM vm)Set the vm property: Reference of the virtual machine resource.
-
-
-
Method Detail
-
vm
public VM vm()
Get the vm property: Reference of the virtual machine resource.- Returns:
- the vm value.
-
withVm
public BastionShareableLinkInner withVm(VM vm)
Set the vm property: Reference of the virtual machine resource.- Parameters:
vm- the vm value to set.- Returns:
- the BastionShareableLinkInner object itself.
-
bsl
public String bsl()
Get the bsl property: The unique Bastion Shareable Link to the virtual machine.- Returns:
- the bsl value.
-
createdAt
public String createdAt()
Get the createdAt property: The time when the link was created.- Returns:
- the createdAt value.
-
message
public String message()
Get the message property: Optional field indicating the warning or error message related to the vm in case of partial failure.- Returns:
- the message value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-