Package com.datadog.api.client.v2.model
Class FleetDeploymentV2DetailAttributes
java.lang.Object
com.datadog.api.client.v2.model.FleetDeploymentV2DetailAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetDeploymentV2DetailAttributes
extends Object
Attributes of a deployment detail response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigOperationsItem(FleetDeploymentOperation configOperationsItem) addHostsItem(FleetDeploymentV2DetailAgent hostsItem) addTargetVersionsItem(String targetVersionsItem) canceledHosts(Long canceledHosts) configOperations(List<FleetDeploymentOperation> configOperations) durationSeconds(Long durationSeconds) booleanReturn true if this FleetDeploymentV2DetailAttributes object is equal to o.errorSummary(String errorSummary) estimatedFinishedAt(Long estimatedFinishedAt) failedHosts(Long failedHosts) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Handle of the user who triggered the deployment.Number of hosts on which the deployment was canceled.Ordered list of configuration file operations applied by this deployment.Duration of the deployment in seconds, computed asfinished_at - started_at.Top-level error message for the deployment.Estimated completion time of the deployment as a Unix timestamp.Number of hosts on which the deployment failed.Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").getHosts()Per-host status list for this deployment.Whether this deployment was triggered by a schedule (schedule_idis non-empty).getQuery()Query used to filter and select target hosts for the deployment.Number of hosts on which the deployment is currently running.Identifier of the schedule that triggered this deployment.Number of hosts that were skipped during the deployment.Number of hosts on which the deployment succeeded.Distinct package versions targeted by this deployment, in first-seen order.Total number of hosts targeted by this deployment.Type of update operation performed by this deployment (for example, "update_config_operations", "update_package").inthashCode()highLevelStatus(String highLevelStatus) hosts(List<FleetDeploymentV2DetailAgent> hosts) isScheduled(Boolean isScheduled) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.runningHosts(Long runningHosts) scheduleId(String scheduleId) voidvoidsetCanceledHosts(Long canceledHosts) voidsetConfigOperations(List<FleetDeploymentOperation> configOperations) voidsetDurationSeconds(Long durationSeconds) voidsetErrorSummary(String errorSummary) voidsetEstimatedFinishedAt(Long estimatedFinishedAt) voidsetFailedHosts(Long failedHosts) voidsetHighLevelStatus(String highLevelStatus) voidsetHosts(List<FleetDeploymentV2DetailAgent> hosts) voidsetIsScheduled(Boolean isScheduled) voidvoidsetRunningHosts(Long runningHosts) voidsetScheduleId(String scheduleId) voidsetSkippedHosts(Long skippedHosts) voidsetSucceededHosts(Long succeededHosts) voidsetTargetVersions(List<String> targetVersions) voidsetTotalHosts(Long totalHosts) voidsetUpdateType(String updateType) skippedHosts(Long skippedHosts) succeededHosts(Long succeededHosts) targetVersions(List<String> targetVersions) toString()totalHosts(Long totalHosts) updateType(String updateType)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_CANCELED_HOSTS
- See Also:
-
JSON_PROPERTY_CONFIG_OPERATIONS
- See Also:
-
JSON_PROPERTY_DURATION_SECONDS
- See Also:
-
JSON_PROPERTY_ERROR_SUMMARY
- See Also:
-
JSON_PROPERTY_ESTIMATED_FINISHED_AT
- See Also:
-
JSON_PROPERTY_FAILED_HOSTS
- See Also:
-
JSON_PROPERTY_HIGH_LEVEL_STATUS
- See Also:
-
JSON_PROPERTY_HOSTS
- See Also:
-
JSON_PROPERTY_IS_SCHEDULED
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_RUNNING_HOSTS
- See Also:
-
JSON_PROPERTY_SCHEDULE_ID
- See Also:
-
JSON_PROPERTY_SKIPPED_HOSTS
- See Also:
-
JSON_PROPERTY_SUCCEEDED_HOSTS
- See Also:
-
JSON_PROPERTY_TARGET_VERSIONS
- See Also:
-
JSON_PROPERTY_TOTAL_HOSTS
- See Also:
-
JSON_PROPERTY_UPDATE_TYPE
- See Also:
-
-
Constructor Details
-
FleetDeploymentV2DetailAttributes
public FleetDeploymentV2DetailAttributes()
-
-
Method Details
-
author
-
getAuthor
Handle of the user who triggered the deployment.- Returns:
- author
-
setAuthor
-
canceledHosts
-
getCanceledHosts
Number of hosts on which the deployment was canceled. minimum: 0- Returns:
- canceledHosts
-
setCanceledHosts
-
configOperations
public FleetDeploymentV2DetailAttributes configOperations(List<FleetDeploymentOperation> configOperations) -
addConfigOperationsItem
public FleetDeploymentV2DetailAttributes addConfigOperationsItem(FleetDeploymentOperation configOperationsItem) -
getConfigOperations
Ordered list of configuration file operations applied by this deployment. Absent for package deployments, which have no configuration file operations.- Returns:
- configOperations
-
setConfigOperations
-
durationSeconds
-
getDurationSeconds
Duration of the deployment in seconds, computed asfinished_at - started_at. Zero if the deployment has not finished.- Returns:
- durationSeconds
-
setDurationSeconds
-
errorSummary
-
getErrorSummary
Top-level error message for the deployment. Populated only when the deployment has failed.- Returns:
- errorSummary
-
setErrorSummary
-
estimatedFinishedAt
-
getEstimatedFinishedAt
Estimated completion time of the deployment as a Unix timestamp. Zero if not available.- Returns:
- estimatedFinishedAt
-
setEstimatedFinishedAt
-
failedHosts
-
getFailedHosts
Number of hosts on which the deployment failed. minimum: 0- Returns:
- failedHosts
-
setFailedHosts
-
highLevelStatus
-
getHighLevelStatus
Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").- Returns:
- highLevelStatus
-
setHighLevelStatus
-
hosts
-
addHostsItem
-
getHosts
Per-host status list for this deployment.- Returns:
- hosts
-
setHosts
-
isScheduled
-
getIsScheduled
Whether this deployment was triggered by a schedule (schedule_idis non-empty).- Returns:
- isScheduled
-
setIsScheduled
-
query
-
getQuery
Query used to filter and select target hosts for the deployment.- Returns:
- query
-
setQuery
-
runningHosts
-
getRunningHosts
Number of hosts on which the deployment is currently running. minimum: 0- Returns:
- runningHosts
-
setRunningHosts
-
scheduleId
-
getScheduleId
Identifier of the schedule that triggered this deployment. Empty if triggered manually.- Returns:
- scheduleId
-
setScheduleId
-
skippedHosts
-
getSkippedHosts
Number of hosts that were skipped during the deployment. minimum: 0- Returns:
- skippedHosts
-
setSkippedHosts
-
succeededHosts
-
getSucceededHosts
Number of hosts on which the deployment succeeded. minimum: 0- Returns:
- succeededHosts
-
setSucceededHosts
-
targetVersions
-
addTargetVersionsItem
-
getTargetVersions
Distinct package versions targeted by this deployment, in first-seen order.- Returns:
- targetVersions
-
setTargetVersions
-
totalHosts
-
getTotalHosts
Total number of hosts targeted by this deployment.- Returns:
- totalHosts
-
setTotalHosts
-
updateType
-
getUpdateType
Type of update operation performed by this deployment (for example, "update_config_operations", "update_package").- Returns:
- updateType
-
setUpdateType
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- FleetDeploymentV2DetailAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this FleetDeploymentV2DetailAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-