Class AppProperties


  • public final class AppProperties
    extends Object
    The properties of an IoT Central application.
    • Constructor Detail

      • AppProperties

        public AppProperties()
    • Method Detail

      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the application.
        Returns:
        the provisioningState value.
      • applicationId

        public String applicationId()
        Get the applicationId property: The ID of the application.
        Returns:
        the applicationId value.
      • displayName

        public String displayName()
        Get the displayName property: The display name of the application.
        Returns:
        the displayName value.
      • withDisplayName

        public AppProperties withDisplayName​(String displayName)
        Set the displayName property: The display name of the application.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the AppProperties object itself.
      • subdomain

        public String subdomain()
        Get the subdomain property: The subdomain of the application.
        Returns:
        the subdomain value.
      • withSubdomain

        public AppProperties withSubdomain​(String subdomain)
        Set the subdomain property: The subdomain of the application.
        Parameters:
        subdomain - the subdomain value to set.
        Returns:
        the AppProperties object itself.
      • template

        public String template()
        Get the template property: The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
        Returns:
        the template value.
      • withTemplate

        public AppProperties withTemplate​(String template)
        Set the template property: The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.
        Parameters:
        template - the template value to set.
        Returns:
        the AppProperties object itself.
      • state

        public AppState state()
        Get the state property: The current state of the application.
        Returns:
        the state value.
      • publicNetworkAccess

        public PublicNetworkAccess publicNetworkAccess()
        Get the publicNetworkAccess property: Whether requests from the public network are allowed.
        Returns:
        the publicNetworkAccess value.
      • withPublicNetworkAccess

        public AppProperties withPublicNetworkAccess​(PublicNetworkAccess publicNetworkAccess)
        Set the publicNetworkAccess property: Whether requests from the public network are allowed.
        Parameters:
        publicNetworkAccess - the publicNetworkAccess value to set.
        Returns:
        the AppProperties object itself.
      • networkRuleSets

        public NetworkRuleSets networkRuleSets()
        Get the networkRuleSets property: Network Rule Set Properties of this IoT Central application.
        Returns:
        the networkRuleSets value.
      • withNetworkRuleSets

        public AppProperties withNetworkRuleSets​(NetworkRuleSets networkRuleSets)
        Set the networkRuleSets property: Network Rule Set Properties of this IoT Central application.
        Parameters:
        networkRuleSets - the networkRuleSets value to set.
        Returns:
        the AppProperties object itself.
      • privateEndpointConnections

        public List<PrivateEndpointConnectionInner> privateEndpointConnections()
        Get the privateEndpointConnections property: Private endpoint connections created on this IoT Central application.
        Returns:
        the privateEndpointConnections value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.