Class DeploymentProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.DeploymentProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeploymentProperties>
public final class DeploymentProperties
extends Object
implements com.azure.json.JsonSerializable<DeploymentProperties>
Deployment resource specific properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive()
Get the active property: True if deployment is currently active, false if completed and null if not started.author()
Get the author property: Who authored the deployment.Get the authorEmail property: Author email.deployer()
Get the deployer property: Who performed the deployment.details()
Get the details property: Details on deployment.endTime()
Get the endTime property: End time.static DeploymentProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DeploymentProperties from the JsonReader.message()
Get the message property: Details about deployment status.Get the startTime property: Start time.status()
Get the status property: Deployment status.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withActive
(Boolean active) Set the active property: True if deployment is currently active, false if completed and null if not started.withAuthor
(String author) Set the author property: Who authored the deployment.withAuthorEmail
(String authorEmail) Set the authorEmail property: Author email.withDeployer
(String deployer) Set the deployer property: Who performed the deployment.withDetails
(String details) Set the details property: Details on deployment.withEndTime
(OffsetDateTime endTime) Set the endTime property: End time.withMessage
(String message) Set the message property: Details about deployment status.withStartTime
(OffsetDateTime startTime) Set the startTime property: Start time.withStatus
(Integer status) Set the status property: Deployment status.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeploymentProperties
public DeploymentProperties()Creates an instance of DeploymentProperties class.
-
-
Method Details
-
status
Get the status property: Deployment status.- Returns:
- the status value.
-
withStatus
Set the status property: Deployment status.- Parameters:
status
- the status value to set.- Returns:
- the DeploymentProperties object itself.
-
message
Get the message property: Details about deployment status.- Returns:
- the message value.
-
withMessage
Set the message property: Details about deployment status.- Parameters:
message
- the message value to set.- Returns:
- the DeploymentProperties object itself.
-
author
Get the author property: Who authored the deployment.- Returns:
- the author value.
-
withAuthor
Set the author property: Who authored the deployment.- Parameters:
author
- the author value to set.- Returns:
- the DeploymentProperties object itself.
-
deployer
Get the deployer property: Who performed the deployment.- Returns:
- the deployer value.
-
withDeployer
Set the deployer property: Who performed the deployment.- Parameters:
deployer
- the deployer value to set.- Returns:
- the DeploymentProperties object itself.
-
authorEmail
Get the authorEmail property: Author email.- Returns:
- the authorEmail value.
-
withAuthorEmail
Set the authorEmail property: Author email.- Parameters:
authorEmail
- the authorEmail value to set.- Returns:
- the DeploymentProperties object itself.
-
startTime
Get the startTime property: Start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the DeploymentProperties object itself.
-
endTime
Get the endTime property: End time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: End time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the DeploymentProperties object itself.
-
active
Get the active property: True if deployment is currently active, false if completed and null if not started.- Returns:
- the active value.
-
withActive
Set the active property: True if deployment is currently active, false if completed and null if not started.- Parameters:
active
- the active value to set.- Returns:
- the DeploymentProperties object itself.
-
details
Get the details property: Details on deployment.- Returns:
- the details value.
-
withDetails
Set the details property: Details on deployment.- Parameters:
details
- the details value to set.- Returns:
- the DeploymentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<DeploymentProperties>
- Throws:
IOException
-
fromJson
public static DeploymentProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeploymentProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DeploymentProperties 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 DeploymentProperties.
-