CsmDeploymentStatus Class

public final class CsmDeploymentStatus
extends ProxyOnlyResource

Deployment status response payload.

Constructor Summary

Constructor Description
CsmDeploymentStatus()

Creates an instance of CsmDeploymentStatus class.

Method Summary

Modifier and Type Method and Description
String deploymentId()

Get the deploymentId property: Deployment operation id.

List<ErrorEntity> errors()

Get the errors property: List of errors.

List<String> failedInstancesLogs()

Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.

Integer numberOfInstancesFailed()

Get the numberOfInstancesFailed property: Number of site instances failed to provision.

Integer numberOfInstancesInProgress()

Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.

Integer numberOfInstancesSuccessful()

Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.

DeploymentBuildStatus status()

Get the status property: Deployment build status.

void validate()

Validates the instance.

CsmDeploymentStatus withDeploymentId(String deploymentId)

Set the deploymentId property: Deployment operation id.

CsmDeploymentStatus withErrors(List<ErrorEntity> errors)

Set the errors property: List of errors.

CsmDeploymentStatus withFailedInstancesLogs(List<String> failedInstancesLogs)

Set the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.

CsmDeploymentStatus withKind(String kind)

Set the kind property: Kind of resource.

CsmDeploymentStatus withNumberOfInstancesFailed(Integer numberOfInstancesFailed)

Set the numberOfInstancesFailed property: Number of site instances failed to provision.

CsmDeploymentStatus withNumberOfInstancesInProgress(Integer numberOfInstancesInProgress)

Set the numberOfInstancesInProgress property: Number of site instances currently being provisioned.

CsmDeploymentStatus withNumberOfInstancesSuccessful(Integer numberOfInstancesSuccessful)

Set the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.

CsmDeploymentStatus withStatus(DeploymentBuildStatus status)

Set the status property: Deployment build status.

Methods inherited from ProxyResource

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

CsmDeploymentStatus

public CsmDeploymentStatus()

Creates an instance of CsmDeploymentStatus class.

Method Details

deploymentId

public String deploymentId()

Get the deploymentId property: Deployment operation id.

Returns:

the deploymentId value.

errors

public List errors()

Get the errors property: List of errors.

Returns:

the errors value.

failedInstancesLogs

public List failedInstancesLogs()

Get the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.

Returns:

the failedInstancesLogs value.

numberOfInstancesFailed

public Integer numberOfInstancesFailed()

Get the numberOfInstancesFailed property: Number of site instances failed to provision.

Returns:

the numberOfInstancesFailed value.

numberOfInstancesInProgress

public Integer numberOfInstancesInProgress()

Get the numberOfInstancesInProgress property: Number of site instances currently being provisioned.

Returns:

the numberOfInstancesInProgress value.

numberOfInstancesSuccessful

public Integer numberOfInstancesSuccessful()

Get the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.

Returns:

the numberOfInstancesSuccessful value.

status

public DeploymentBuildStatus status()

Get the status property: Deployment build status.

Returns:

the status value.

validate

public void validate()

Validates the instance.

Overrides:

CsmDeploymentStatus.validate()

withDeploymentId

public CsmDeploymentStatus withDeploymentId(String deploymentId)

Set the deploymentId property: Deployment operation id.

Parameters:

deploymentId - the deploymentId value to set.

Returns:

the CsmDeploymentStatus object itself.

withErrors

public CsmDeploymentStatus withErrors(List errors)

Set the errors property: List of errors.

Parameters:

errors - the errors value to set.

Returns:

the CsmDeploymentStatus object itself.

withFailedInstancesLogs

public CsmDeploymentStatus withFailedInstancesLogs(List failedInstancesLogs)

Set the failedInstancesLogs property: List of URLs pointing to logs for instances which failed to provision.

Parameters:

failedInstancesLogs - the failedInstancesLogs value to set.

Returns:

the CsmDeploymentStatus object itself.

withKind

public CsmDeploymentStatus withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

CsmDeploymentStatus.withKind(String kind)

Parameters:

kind

withNumberOfInstancesFailed

public CsmDeploymentStatus withNumberOfInstancesFailed(Integer numberOfInstancesFailed)

Set the numberOfInstancesFailed property: Number of site instances failed to provision.

Parameters:

numberOfInstancesFailed - the numberOfInstancesFailed value to set.

Returns:

the CsmDeploymentStatus object itself.

withNumberOfInstancesInProgress

public CsmDeploymentStatus withNumberOfInstancesInProgress(Integer numberOfInstancesInProgress)

Set the numberOfInstancesInProgress property: Number of site instances currently being provisioned.

Parameters:

numberOfInstancesInProgress - the numberOfInstancesInProgress value to set.

Returns:

the CsmDeploymentStatus object itself.

withNumberOfInstancesSuccessful

public CsmDeploymentStatus withNumberOfInstancesSuccessful(Integer numberOfInstancesSuccessful)

Set the numberOfInstancesSuccessful property: Number of site instances provisioned successfully.

Parameters:

numberOfInstancesSuccessful - the numberOfInstancesSuccessful value to set.

Returns:

the CsmDeploymentStatus object itself.

withStatus

public CsmDeploymentStatus withStatus(DeploymentBuildStatus status)

Set the status property: Deployment build status.

Parameters:

status - the status value to set.

Returns:

the CsmDeploymentStatus object itself.

Applies to