Package com.datadog.api.client.v2.model
Class FleetDeploymentV2Attributes
java.lang.Object
com.datadog.api.client.v2.model.FleetDeploymentV2Attributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetDeploymentV2Attributes
extends Object
Attributes of a deployment in the v2 API 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 Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigOperationsItem(FleetDeploymentOperation configOperationsItem) addTargetVersionsItem(String targetVersionsItem) configOperations(List<FleetDeploymentOperation> configOperations) durationSeconds(Long durationSeconds) booleanReturn true if this FleetDeploymentV2Attributes object is equal to o.errorSummary(String errorSummary) estimatedFinishedAt(Long estimatedFinishedAt) finishedAt(Long finishedAt) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Handle of the user who triggered the deployment.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.Time the deployment finished as a Unix timestamp.Whether this deployment was triggered by a schedule (schedule_idis non-empty).getQuery()Query used to filter and select target hosts for the deployment.Identifier of the schedule that triggered this deployment.Time the deployment started as a Unix timestamp.Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").Package versions targeted by this deployment.Total number of hosts targeted by this deployment.Type of update operation performed by this deployment (for example, "update_config_operations", "update_package").inthashCode()isScheduled(Boolean isScheduled) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.scheduleId(String scheduleId) voidvoidsetConfigOperations(List<FleetDeploymentOperation> configOperations) voidsetDurationSeconds(Long durationSeconds) voidsetErrorSummary(String errorSummary) voidsetEstimatedFinishedAt(Long estimatedFinishedAt) voidsetFinishedAt(Long finishedAt) voidsetIsScheduled(Boolean isScheduled) voidvoidsetScheduleId(String scheduleId) voidsetStartedAt(Long startedAt) voidvoidsetTargetVersions(List<String> targetVersions) voidsetTotalHosts(Long totalHosts) voidsetUpdateType(String updateType) targetVersions(List<String> targetVersions) toString()totalHosts(Long totalHosts) updateType(String updateType)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- 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_FINISHED_AT
- See Also:
-
JSON_PROPERTY_IS_SCHEDULED
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_SCHEDULE_ID
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TARGET_VERSIONS
- See Also:
-
JSON_PROPERTY_TOTAL_HOSTS
- See Also:
-
JSON_PROPERTY_UPDATE_TYPE
- See Also:
-
-
Constructor Details
-
FleetDeploymentV2Attributes
public FleetDeploymentV2Attributes()
-
-
Method Details
-
author
-
getAuthor
Handle of the user who triggered the deployment.- Returns:
- author
-
setAuthor
-
configOperations
public FleetDeploymentV2Attributes configOperations(List<FleetDeploymentOperation> configOperations) -
addConfigOperationsItem
public FleetDeploymentV2Attributes 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
-
finishedAt
-
getFinishedAt
Time the deployment finished as a Unix timestamp. Zero if not yet finished.- Returns:
- finishedAt
-
setFinishedAt
-
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
-
scheduleId
-
getScheduleId
Identifier of the schedule that triggered this deployment. Empty if triggered manually.- Returns:
- scheduleId
-
setScheduleId
-
startedAt
-
getStartedAt
Time the deployment started as a Unix timestamp. Zero if not yet started.- Returns:
- startedAt
-
setStartedAt
-
status
-
getStatus
Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").- Returns:
- status
-
setStatus
-
targetVersions
-
addTargetVersionsItem
-
getTargetVersions
Package versions targeted by this deployment.- 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:
- FleetDeploymentV2Attributes
-
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 FleetDeploymentV2Attributes object is equal to o. -
hashCode
public int hashCode() -
toString
-