Class SecretProperties
java.lang.Object
com.azure.resourcemanager.cdn.models.AfdStateProperties
com.azure.resourcemanager.cdn.fluent.models.SecretProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AfdStateProperties>
The JSON object that contains the properties of the Secret to create.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the deploymentStatus property: The deploymentStatus property.static SecretPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SecretProperties from the JsonReader.Get the parameters property: object which contains secret parameters.Get the profileName property: The name of the profile which holds the secret.Get the provisioningState property: Provisioning status.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withParameters(SecretParameters parameters) Set the parameters property: object which contains secret parameters.Methods inherited from class 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
-
SecretProperties
public SecretProperties()Creates an instance of SecretProperties class.
-
-
Method Details
-
profileName
Get the profileName property: The name of the profile which holds the secret.- Returns:
- the profileName value.
-
parameters
Get the parameters property: object which contains secret parameters.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: object which contains secret parameters.- Parameters:
parameters- the parameters value to set.- Returns:
- the SecretProperties object itself.
-
deploymentStatus
Get the deploymentStatus property: The deploymentStatus property.- Overrides:
deploymentStatusin classAfdStateProperties- Returns:
- the deploymentStatus value.
-
provisioningState
Get the provisioningState property: Provisioning status.- Overrides:
provisioningStatein classAfdStateProperties- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classAfdStateProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AfdStateProperties>- Overrides:
toJsonin classAfdStateProperties- Throws:
IOException
-
fromJson
Reads an instance of SecretProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SecretProperties 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 SecretProperties.
-