@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetDeploymentV2Attributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AUTHOR |
static String |
JSON_PROPERTY_CONFIG_OPERATIONS |
static String |
JSON_PROPERTY_DURATION_SECONDS |
static String |
JSON_PROPERTY_ERROR_SUMMARY |
static String |
JSON_PROPERTY_ESTIMATED_FINISHED_AT |
static String |
JSON_PROPERTY_FINISHED_AT |
static String |
JSON_PROPERTY_IS_SCHEDULED |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_SCHEDULE_ID |
static String |
JSON_PROPERTY_STARTED_AT |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_TARGET_VERSIONS |
static String |
JSON_PROPERTY_TOTAL_HOSTS |
static String |
JSON_PROPERTY_UPDATE_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
FleetDeploymentV2Attributes() |
| Modifier and Type | Method and Description |
|---|---|
FleetDeploymentV2Attributes |
addConfigOperationsItem(FleetDeploymentOperation configOperationsItem) |
FleetDeploymentV2Attributes |
addTargetVersionsItem(String targetVersionsItem) |
FleetDeploymentV2Attributes |
author(String author) |
FleetDeploymentV2Attributes |
configOperations(List<FleetDeploymentOperation> configOperations) |
FleetDeploymentV2Attributes |
durationSeconds(Long durationSeconds) |
boolean |
equals(Object o)
Return true if this FleetDeploymentV2Attributes object is equal to o.
|
FleetDeploymentV2Attributes |
errorSummary(String errorSummary) |
FleetDeploymentV2Attributes |
estimatedFinishedAt(Long estimatedFinishedAt) |
FleetDeploymentV2Attributes |
finishedAt(Long finishedAt) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAuthor()
Handle of the user who triggered the deployment.
|
List<FleetDeploymentOperation> |
getConfigOperations()
Ordered list of configuration file operations applied by this deployment.
|
Long |
getDurationSeconds()
Duration of the deployment in seconds, computed as
finished_at - started_at. |
String |
getErrorSummary()
Top-level error message for the deployment.
|
Long |
getEstimatedFinishedAt()
Estimated completion time of the deployment as a Unix timestamp.
|
Long |
getFinishedAt()
Time the deployment finished as a Unix timestamp.
|
Boolean |
getIsScheduled()
Whether this deployment was triggered by a schedule (
schedule_id is non-empty). |
String |
getQuery()
Query used to filter and select target hosts for the deployment.
|
String |
getScheduleId()
Identifier of the schedule that triggered this deployment.
|
Long |
getStartedAt()
Time the deployment started as a Unix timestamp.
|
String |
getStatus()
Current high-level status of the deployment (for example, "pending", "running", "completed",
"failed").
|
List<String> |
getTargetVersions()
Package versions targeted by this deployment.
|
Long |
getTotalHosts()
Total number of hosts targeted by this deployment.
|
String |
getUpdateType()
Type of update operation performed by this deployment (for example, "update_config_operations",
"update_package").
|
int |
hashCode() |
FleetDeploymentV2Attributes |
isScheduled(Boolean isScheduled) |
FleetDeploymentV2Attributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FleetDeploymentV2Attributes |
query(String query) |
FleetDeploymentV2Attributes |
scheduleId(String scheduleId) |
void |
setAuthor(String author) |
void |
setConfigOperations(List<FleetDeploymentOperation> configOperations) |
void |
setDurationSeconds(Long durationSeconds) |
void |
setErrorSummary(String errorSummary) |
void |
setEstimatedFinishedAt(Long estimatedFinishedAt) |
void |
setFinishedAt(Long finishedAt) |
void |
setIsScheduled(Boolean isScheduled) |
void |
setQuery(String query) |
void |
setScheduleId(String scheduleId) |
void |
setStartedAt(Long startedAt) |
void |
setStatus(String status) |
void |
setTargetVersions(List<String> targetVersions) |
void |
setTotalHosts(Long totalHosts) |
void |
setUpdateType(String updateType) |
FleetDeploymentV2Attributes |
startedAt(Long startedAt) |
FleetDeploymentV2Attributes |
status(String status) |
FleetDeploymentV2Attributes |
targetVersions(List<String> targetVersions) |
String |
toString() |
FleetDeploymentV2Attributes |
totalHosts(Long totalHosts) |
FleetDeploymentV2Attributes |
updateType(String updateType) |
public boolean unparsed
public static final String JSON_PROPERTY_AUTHOR
public static final String JSON_PROPERTY_CONFIG_OPERATIONS
public static final String JSON_PROPERTY_DURATION_SECONDS
public static final String JSON_PROPERTY_ERROR_SUMMARY
public static final String JSON_PROPERTY_ESTIMATED_FINISHED_AT
public static final String JSON_PROPERTY_FINISHED_AT
public static final String JSON_PROPERTY_IS_SCHEDULED
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_SCHEDULE_ID
public static final String JSON_PROPERTY_STARTED_AT
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_TARGET_VERSIONS
public static final String JSON_PROPERTY_TOTAL_HOSTS
public static final String JSON_PROPERTY_UPDATE_TYPE
public FleetDeploymentV2Attributes author(String author)
@Nullable public String getAuthor()
public void setAuthor(String author)
public FleetDeploymentV2Attributes configOperations(List<FleetDeploymentOperation> configOperations)
public FleetDeploymentV2Attributes addConfigOperationsItem(FleetDeploymentOperation configOperationsItem)
@Nullable public List<FleetDeploymentOperation> getConfigOperations()
public void setConfigOperations(List<FleetDeploymentOperation> configOperations)
public FleetDeploymentV2Attributes durationSeconds(Long durationSeconds)
@Nullable public Long getDurationSeconds()
finished_at - started_at. Zero
if the deployment has not finished.public void setDurationSeconds(Long durationSeconds)
public FleetDeploymentV2Attributes errorSummary(String errorSummary)
@Nullable public String getErrorSummary()
public void setErrorSummary(String errorSummary)
public FleetDeploymentV2Attributes estimatedFinishedAt(Long estimatedFinishedAt)
@Nullable public Long getEstimatedFinishedAt()
public void setEstimatedFinishedAt(Long estimatedFinishedAt)
public FleetDeploymentV2Attributes finishedAt(Long finishedAt)
@Nullable public Long getFinishedAt()
public void setFinishedAt(Long finishedAt)
public FleetDeploymentV2Attributes isScheduled(Boolean isScheduled)
@Nullable public Boolean getIsScheduled()
schedule_id is non-empty).public void setIsScheduled(Boolean isScheduled)
public FleetDeploymentV2Attributes query(String query)
@Nullable public String getQuery()
public void setQuery(String query)
public FleetDeploymentV2Attributes scheduleId(String scheduleId)
@Nullable public String getScheduleId()
public void setScheduleId(String scheduleId)
public FleetDeploymentV2Attributes startedAt(Long startedAt)
@Nullable public Long getStartedAt()
public void setStartedAt(Long startedAt)
public FleetDeploymentV2Attributes status(String status)
@Nullable public String getStatus()
public void setStatus(String status)
public FleetDeploymentV2Attributes targetVersions(List<String> targetVersions)
public FleetDeploymentV2Attributes addTargetVersionsItem(String targetVersionsItem)
@Nullable public List<String> getTargetVersions()
public FleetDeploymentV2Attributes totalHosts(Long totalHosts)
@Nullable public Long getTotalHosts()
public void setTotalHosts(Long totalHosts)
public FleetDeploymentV2Attributes updateType(String updateType)
@Nullable public String getUpdateType()
public void setUpdateType(String updateType)
public FleetDeploymentV2Attributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.