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 Summary
ConstructorsConstructorDescriptionCreates an instance of BindingResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the bindingParameters property: Binding parameters of the Binding resource.Get the createdAt property: Creation time of the Binding resource.static BindingResourcePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BindingResourceProperties from the JsonReader.Get the generatedProperties property: The generated Spring Boot property file for this binding.key()Get the key property: The key of the bound resource.Get the resourceId property: The Azure resource id of the bound resource.Get the resourceName property: The name of the bound resource.Get the resourceType property: The standard Azure resource type of the bound resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the updatedAt property: Update time of the Binding resource.voidvalidate()Validates the instance.withBindingParameters(Map<String, Object> bindingParameters) Set the bindingParameters property: Binding parameters of the Binding resource.Set the key property: The key of the bound resource.withResourceId(String resourceId) Set the resourceId property: The Azure resource id of the bound resource.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BindingResourceProperties
public BindingResourceProperties()Creates an instance of BindingResourceProperties class.
-
-
Method Details
-
resourceName
Get the resourceName property: The name of the bound resource.- Returns:
- the resourceName value.
-
resourceType
Get the resourceType property: The standard Azure resource type of the bound resource.- Returns:
- the resourceType value.
-
resourceId
Get the resourceId property: The Azure resource id of the bound resource.- Returns:
- the resourceId value.
-
withResourceId
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
Get the key property: The key of the bound resource.- Returns:
- the key value.
-
withKey
Set the key property: The key of the bound resource.- Parameters:
key- the key value to set.- Returns:
- the BindingResourceProperties object itself.
-
bindingParameters
Get the bindingParameters property: Binding parameters of the Binding resource.- Returns:
- the bindingParameters value.
-
withBindingParameters
Set the bindingParameters property: Binding parameters of the Binding resource.- Parameters:
bindingParameters- the bindingParameters value to set.- Returns:
- the BindingResourceProperties object itself.
-
generatedProperties
Get the generatedProperties property: The generated Spring Boot property file for this binding. The secret will be deducted.- Returns:
- the generatedProperties value.
-
createdAt
Get the createdAt property: Creation time of the Binding resource.- Returns:
- the createdAt value.
-
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
- Specified by:
toJsonin interfacecom.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.
-