DeploymentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. DeploymentInner
- com.
- com.
- com.
public final class DeploymentInner
extends ProxyOnlyResource
User credentials used for publishing activity.
Constructor Summary
Constructor | Description |
---|---|
DeploymentInner() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
active()
Get the active property: True if deployment is currently active, false if completed and null if not started. |
String |
author()
Get the author property: Who authored the deployment. |
String |
authorEmail()
Get the author |
String |
deployer()
Get the deployer property: Who performed the deployment. |
String |
details()
Get the details property: Details on deployment. |
Offset |
endTime()
Get the end |
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
message()
Get the message property: Details about deployment status. |
String |
name()
Get the name property: The name of the resource. |
Offset |
startTime()
Get the start |
Integer |
status()
Get the status property: Deployment status. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Deployment |
withActive(Boolean active)
Set the active property: True if deployment is currently active, false if completed and null if not started. |
Deployment |
withAuthor(String author)
Set the author property: Who authored the deployment. |
Deployment |
withAuthorEmail(String authorEmail)
Set the author |
Deployment |
withDeployer(String deployer)
Set the deployer property: Who performed the deployment. |
Deployment |
withDetails(String details)
Set the details property: Details on deployment. |
Deployment |
withEndTime(OffsetDateTime endTime)
Set the end |
Deployment |
withKind(String kind)
Set the kind property: Kind of resource. |
Deployment |
withMessage(String message)
Set the message property: Details about deployment status. |
Deployment |
withStartTime(OffsetDateTime startTime)
Set the start |
Deployment |
withStatus(Integer status)
Set the status property: Deployment status. |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
DeploymentInner
public DeploymentInner()
Creates an instance of DeploymentInner class.
Method Details
active
public Boolean active()
Get the active property: True if deployment is currently active, false if completed and null if not started.
Returns:
author
public String author()
Get the author property: Who authored the deployment.
Returns:
authorEmail
public String authorEmail()
Get the authorEmail property: Author email.
Returns:
deployer
public String deployer()
Get the deployer property: Who performed the deployment.
Returns:
details
public String details()
Get the details property: Details on deployment.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: End time.
Returns:
fromJson
public static DeploymentInner fromJson(JsonReader jsonReader)
Reads an instance of DeploymentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DeploymentInner.id()Returns:
message
public String message()
Get the message property: Details about deployment status.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DeploymentInner.name()Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time.
Returns:
status
public Integer status()
Get the status property: Deployment status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DeploymentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DeploymentInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DeploymentInner.validate()withActive
public DeploymentInner withActive(Boolean active)
Set the active property: True if deployment is currently active, false if completed and null if not started.
Parameters:
Returns:
withAuthor
public DeploymentInner withAuthor(String author)
Set the author property: Who authored the deployment.
Parameters:
Returns:
withAuthorEmail
public DeploymentInner withAuthorEmail(String authorEmail)
Set the authorEmail property: Author email.
Parameters:
Returns:
withDeployer
public DeploymentInner withDeployer(String deployer)
Set the deployer property: Who performed the deployment.
Parameters:
Returns:
withDetails
public DeploymentInner withDetails(String details)
Set the details property: Details on deployment.
Parameters:
Returns:
withEndTime
public DeploymentInner withEndTime(OffsetDateTime endTime)
Set the endTime property: End time.
Parameters:
Returns:
withKind
public DeploymentInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
DeploymentInner.withKind(String kind)Parameters:
withMessage
public DeploymentInner withMessage(String message)
Set the message property: Details about deployment status.
Parameters:
Returns:
withStartTime
public DeploymentInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time.
Parameters:
Returns:
withStatus
public DeploymentInner withStatus(Integer status)
Set the status property: Deployment status.
Parameters:
Returns:
Applies to
Azure SDK for Java