BastionShareableLinkInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. BastionShareableLinkInner
- com.
Implements
public final class BastionShareableLinkInner
implements JsonSerializable<BastionShareableLinkInner>
Bastion Shareable Link.
Constructor Summary
Constructor | Description |
---|---|
BastionShareableLinkInner() |
Creates an instance of Bastion |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
bsl()
Get the bsl property: The unique Bastion Shareable Link to the virtual machine. |
String |
createdAt()
Get the created |
static
Bastion |
fromJson(JsonReader jsonReader)
Reads an instance of Bastion |
String |
message()
Get the message property: Optional field indicating the warning or error message related to the vm in case of partial failure. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
VM |
vm()
Get the vm property: Reference of the virtual machine resource. |
Bastion |
withVm(VM vm)
Set the vm property: Reference of the virtual machine resource. |
Methods inherited from java.lang.Object
Constructor Details
BastionShareableLinkInner
public BastionShareableLinkInner()
Creates an instance of BastionShareableLinkInner class.
Method Details
bsl
public String bsl()
Get the bsl property: The unique Bastion Shareable Link to the virtual machine.
Returns:
createdAt
public String createdAt()
Get the createdAt property: The time when the link was created.
Returns:
fromJson
public static BastionShareableLinkInner fromJson(JsonReader jsonReader)
Reads an instance of BastionShareableLinkInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
validate
public void validate()
Validates the instance.
vm
public VM vm()
Get the vm property: Reference of the virtual machine resource.
Returns:
withVm
public BastionShareableLinkInner withVm(VM vm)
Set the vm property: Reference of the virtual machine resource.
Parameters:
Returns:
Applies to
Azure SDK for Java