Class BindingResourceProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.BindingResourceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<BindingResourceProperties>

public final class BindingResourceProperties extends Object implements com.azure.json.JsonSerializable<BindingResourceProperties>
Binding resource properties payload.
  • Constructor Details

    • BindingResourceProperties

      public BindingResourceProperties()
      Creates an instance of BindingResourceProperties class.
  • Method Details

    • resourceName

      public String resourceName()
      Get the resourceName property: The name of the bound resource.
      Returns:
      the resourceName value.
    • resourceType

      public String resourceType()
      Get the resourceType property: The standard Azure resource type of the bound resource.
      Returns:
      the resourceType value.
    • resourceId

      public String resourceId()
      Get the resourceId property: The Azure resource id of the bound resource.
      Returns:
      the resourceId value.
    • withResourceId

      public BindingResourceProperties withResourceId(String resourceId)
      Set the resourceId property: The Azure resource id of the bound resource.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the BindingResourceProperties object itself.
    • key

      public String key()
      Get the key property: The key of the bound resource.
      Returns:
      the key value.
    • withKey

      public BindingResourceProperties withKey(String key)
      Set the key property: The key of the bound resource.
      Parameters:
      key - the key value to set.
      Returns:
      the BindingResourceProperties object itself.
    • bindingParameters

      public Map<String,Object> bindingParameters()
      Get the bindingParameters property: Binding parameters of the Binding resource.
      Returns:
      the bindingParameters value.
    • withBindingParameters

      public BindingResourceProperties withBindingParameters(Map<String,Object> bindingParameters)
      Set the bindingParameters property: Binding parameters of the Binding resource.
      Parameters:
      bindingParameters - the bindingParameters value to set.
      Returns:
      the BindingResourceProperties object itself.
    • generatedProperties

      public String generatedProperties()
      Get the generatedProperties property: The generated Spring Boot property file for this binding. The secret will be deducted.
      Returns:
      the generatedProperties value.
    • createdAt

      public String createdAt()
      Get the createdAt property: Creation time of the Binding resource.
      Returns:
      the createdAt value.
    • updatedAt

      public String updatedAt()
      Get the updatedAt property: Update time of the Binding resource.
      Returns:
      the updatedAt value.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<BindingResourceProperties>
      Throws:
      IOException
    • fromJson

      public static BindingResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of BindingResourceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of BindingResourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the BindingResourceProperties.