Class BastionHostPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.BastionHostPropertiesFormat
-
public final class BastionHostPropertiesFormat extends Object
Properties of the Bastion Host.
-
-
Constructor Summary
Constructors Constructor Description BastionHostPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleandisableCopyPaste()Get the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.StringdnsName()Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.BooleanenableFileCopy()Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.BooleanenableIpConnect()Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.BooleanenableShareableLink()Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.BooleanenableTunneling()Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.List<BastionHostIpConfiguration>ipConfigurations()Get the ipConfigurations property: IP configuration of the Bastion Host resource.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the bastion host resource.IntegerscaleUnits()Get the scaleUnits property: The scale units for the Bastion Host resource.voidvalidate()Validates the instance.BastionHostPropertiesFormatwithDisableCopyPaste(Boolean disableCopyPaste)Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.BastionHostPropertiesFormatwithDnsName(String dnsName)Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.BastionHostPropertiesFormatwithEnableFileCopy(Boolean enableFileCopy)Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.BastionHostPropertiesFormatwithEnableIpConnect(Boolean enableIpConnect)Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.BastionHostPropertiesFormatwithEnableShareableLink(Boolean enableShareableLink)Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.BastionHostPropertiesFormatwithEnableTunneling(Boolean enableTunneling)Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.BastionHostPropertiesFormatwithIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)Set the ipConfigurations property: IP configuration of the Bastion Host resource.BastionHostPropertiesFormatwithScaleUnits(Integer scaleUnits)Set the scaleUnits property: The scale units for the Bastion Host resource.
-
-
-
Method Detail
-
ipConfigurations
public List<BastionHostIpConfiguration> ipConfigurations()
Get the ipConfigurations property: IP configuration of the Bastion Host resource.- Returns:
- the ipConfigurations value.
-
withIpConfigurations
public BastionHostPropertiesFormat withIpConfigurations(List<BastionHostIpConfiguration> ipConfigurations)
Set the ipConfigurations property: IP configuration of the Bastion Host resource.- Parameters:
ipConfigurations- the ipConfigurations value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
dnsName
public String dnsName()
Get the dnsName property: FQDN for the endpoint on which bastion host is accessible.- Returns:
- the dnsName value.
-
withDnsName
public BastionHostPropertiesFormat withDnsName(String dnsName)
Set the dnsName property: FQDN for the endpoint on which bastion host is accessible.- Parameters:
dnsName- the dnsName value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the bastion host resource.- Returns:
- the provisioningState value.
-
scaleUnits
public Integer scaleUnits()
Get the scaleUnits property: The scale units for the Bastion Host resource.- Returns:
- the scaleUnits value.
-
withScaleUnits
public BastionHostPropertiesFormat withScaleUnits(Integer scaleUnits)
Set the scaleUnits property: The scale units for the Bastion Host resource.- Parameters:
scaleUnits- the scaleUnits value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
disableCopyPaste
public Boolean disableCopyPaste()
Get the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.- Returns:
- the disableCopyPaste value.
-
withDisableCopyPaste
public BastionHostPropertiesFormat withDisableCopyPaste(Boolean disableCopyPaste)
Set the disableCopyPaste property: Enable/Disable Copy/Paste feature of the Bastion Host resource.- Parameters:
disableCopyPaste- the disableCopyPaste value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
enableFileCopy
public Boolean enableFileCopy()
Get the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.- Returns:
- the enableFileCopy value.
-
withEnableFileCopy
public BastionHostPropertiesFormat withEnableFileCopy(Boolean enableFileCopy)
Set the enableFileCopy property: Enable/Disable File Copy feature of the Bastion Host resource.- Parameters:
enableFileCopy- the enableFileCopy value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
enableIpConnect
public Boolean enableIpConnect()
Get the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.- Returns:
- the enableIpConnect value.
-
withEnableIpConnect
public BastionHostPropertiesFormat withEnableIpConnect(Boolean enableIpConnect)
Set the enableIpConnect property: Enable/Disable IP Connect feature of the Bastion Host resource.- Parameters:
enableIpConnect- the enableIpConnect value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
enableShareableLink
public Boolean enableShareableLink()
Get the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.- Returns:
- the enableShareableLink value.
-
withEnableShareableLink
public BastionHostPropertiesFormat withEnableShareableLink(Boolean enableShareableLink)
Set the enableShareableLink property: Enable/Disable Shareable Link of the Bastion Host resource.- Parameters:
enableShareableLink- the enableShareableLink value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
enableTunneling
public Boolean enableTunneling()
Get the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.- Returns:
- the enableTunneling value.
-
withEnableTunneling
public BastionHostPropertiesFormat withEnableTunneling(Boolean enableTunneling)
Set the enableTunneling property: Enable/Disable Tunneling feature of the Bastion Host resource.- Parameters:
enableTunneling- the enableTunneling value to set.- Returns:
- the BastionHostPropertiesFormat object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-