Class AppResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.AppResourceProperties
-
public final class AppResourceProperties extends Object
App resource properties payload.
-
-
Constructor Summary
Constructors Constructor Description AppResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactiveDeploymentName()Get the activeDeploymentName property: Name of the active deployment of the App.OffsetDateTimecreatedTime()Get the createdTime property: Date time when the resource is created.BooleanenableEndToEndTls()Get the enableEndToEndTls property: Indicate if end to end TLS is enabled.Stringfqdn()Get the fqdn property: Fully qualified dns Name.BooleanhttpsOnly()Get the httpsOnly property: Indicate if only https is allowed.PersistentDiskpersistentDisk()Get the persistentDisk property: Persistent disk settings.AppResourceProvisioningStateprovisioningState()Get the provisioningState property: Provisioning state of the App.BooleanpublicProperty()Get the publicProperty property: Indicates whether the App exposes public endpoint.TemporaryDisktemporaryDisk()Get the temporaryDisk property: Temporary disk settings.Stringurl()Get the url property: URL of the App.voidvalidate()Validates the instance.AppResourcePropertieswithActiveDeploymentName(String activeDeploymentName)Set the activeDeploymentName property: Name of the active deployment of the App.AppResourcePropertieswithEnableEndToEndTls(Boolean enableEndToEndTls)Set the enableEndToEndTls property: Indicate if end to end TLS is enabled.AppResourcePropertieswithFqdn(String fqdn)Set the fqdn property: Fully qualified dns Name.AppResourcePropertieswithHttpsOnly(Boolean httpsOnly)Set the httpsOnly property: Indicate if only https is allowed.AppResourcePropertieswithPersistentDisk(PersistentDisk persistentDisk)Set the persistentDisk property: Persistent disk settings.AppResourcePropertieswithPublicProperty(Boolean publicProperty)Set the publicProperty property: Indicates whether the App exposes public endpoint.AppResourcePropertieswithTemporaryDisk(TemporaryDisk temporaryDisk)Set the temporaryDisk property: Temporary disk settings.
-
-
-
Method Detail
-
publicProperty
public Boolean publicProperty()
Get the publicProperty property: Indicates whether the App exposes public endpoint.- Returns:
- the publicProperty value.
-
withPublicProperty
public AppResourceProperties withPublicProperty(Boolean publicProperty)
Set the publicProperty property: Indicates whether the App exposes public endpoint.- Parameters:
publicProperty- the publicProperty value to set.- Returns:
- the AppResourceProperties object itself.
-
url
public String url()
Get the url property: URL of the App.- Returns:
- the url value.
-
provisioningState
public AppResourceProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the App.- Returns:
- the provisioningState value.
-
activeDeploymentName
public String activeDeploymentName()
Get the activeDeploymentName property: Name of the active deployment of the App.- Returns:
- the activeDeploymentName value.
-
withActiveDeploymentName
public AppResourceProperties withActiveDeploymentName(String activeDeploymentName)
Set the activeDeploymentName property: Name of the active deployment of the App.- Parameters:
activeDeploymentName- the activeDeploymentName value to set.- Returns:
- the AppResourceProperties object itself.
-
fqdn
public String fqdn()
Get the fqdn property: Fully qualified dns Name.- Returns:
- the fqdn value.
-
withFqdn
public AppResourceProperties withFqdn(String fqdn)
Set the fqdn property: Fully qualified dns Name.- Parameters:
fqdn- the fqdn value to set.- Returns:
- the AppResourceProperties object itself.
-
httpsOnly
public Boolean httpsOnly()
Get the httpsOnly property: Indicate if only https is allowed.- Returns:
- the httpsOnly value.
-
withHttpsOnly
public AppResourceProperties withHttpsOnly(Boolean httpsOnly)
Set the httpsOnly property: Indicate if only https is allowed.- Parameters:
httpsOnly- the httpsOnly value to set.- Returns:
- the AppResourceProperties object itself.
-
enableEndToEndTls
public Boolean enableEndToEndTls()
Get the enableEndToEndTls property: Indicate if end to end TLS is enabled.- Returns:
- the enableEndToEndTls value.
-
withEnableEndToEndTls
public AppResourceProperties withEnableEndToEndTls(Boolean enableEndToEndTls)
Set the enableEndToEndTls property: Indicate if end to end TLS is enabled.- Parameters:
enableEndToEndTls- the enableEndToEndTls value to set.- Returns:
- the AppResourceProperties object itself.
-
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Date time when the resource is created.- Returns:
- the createdTime value.
-
temporaryDisk
public TemporaryDisk temporaryDisk()
Get the temporaryDisk property: Temporary disk settings.- Returns:
- the temporaryDisk value.
-
withTemporaryDisk
public AppResourceProperties withTemporaryDisk(TemporaryDisk temporaryDisk)
Set the temporaryDisk property: Temporary disk settings.- Parameters:
temporaryDisk- the temporaryDisk value to set.- Returns:
- the AppResourceProperties object itself.
-
persistentDisk
public PersistentDisk persistentDisk()
Get the persistentDisk property: Persistent disk settings.- Returns:
- the persistentDisk value.
-
withPersistentDisk
public AppResourceProperties withPersistentDisk(PersistentDisk persistentDisk)
Set the persistentDisk property: Persistent disk settings.- Parameters:
persistentDisk- the persistentDisk value to set.- Returns:
- the AppResourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-