Package com.datadog.api.client.v2.model
Class FleetDeploymentAttributes
java.lang.Object
com.datadog.api.client.v2.model.FleetDeploymentAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetDeploymentAttributes
extends Object
Attributes of a deployment in the response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigOperationsItem(FleetDeploymentOperation configOperationsItem) addHostsItem(FleetDeploymentHost hostsItem) addPackagesItem(FleetDeploymentPackage packagesItem) configOperations(List<FleetDeploymentOperation> configOperations) booleanReturn true if this FleetDeploymentAttributes object is equal to o.estimatedEndTimeUnix(Long estimatedEndTimeUnix) filterQuery(String filterQuery) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Ordered list of configuration file operations to perform on the target hosts.Estimated completion time of the deployment as a Unix timestamp (seconds since epoch).Query used to filter and select target hosts for the deployment.Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").getHosts()Paginated list of hosts in this deployment with their individual statuses.List of packages to deploy to target hosts.Total number of hosts targeted by this deployment.inthashCode()highLevelStatus(String highLevelStatus) hosts(List<FleetDeploymentHost> hosts) packages(List<FleetDeploymentPackage> packages) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfigOperations(List<FleetDeploymentOperation> configOperations) voidsetEstimatedEndTimeUnix(Long estimatedEndTimeUnix) voidsetFilterQuery(String filterQuery) voidsetHighLevelStatus(String highLevelStatus) voidsetHosts(List<FleetDeploymentHost> hosts) voidsetPackages(List<FleetDeploymentPackage> packages) voidsetTotalHosts(Long totalHosts) toString()totalHosts(Long totalHosts)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIG_OPERATIONS
- See Also:
-
JSON_PROPERTY_ESTIMATED_END_TIME_UNIX
- See Also:
-
JSON_PROPERTY_FILTER_QUERY
- See Also:
-
JSON_PROPERTY_HIGH_LEVEL_STATUS
- See Also:
-
JSON_PROPERTY_HOSTS
- See Also:
-
JSON_PROPERTY_PACKAGES
- See Also:
-
JSON_PROPERTY_TOTAL_HOSTS
- See Also:
-
-
Constructor Details
-
FleetDeploymentAttributes
public FleetDeploymentAttributes()
-
-
Method Details
-
configOperations
-
addConfigOperationsItem
public FleetDeploymentAttributes addConfigOperationsItem(FleetDeploymentOperation configOperationsItem) -
getConfigOperations
Ordered list of configuration file operations to perform on the target hosts.- Returns:
- configOperations
-
setConfigOperations
-
estimatedEndTimeUnix
-
getEstimatedEndTimeUnix
Estimated completion time of the deployment as a Unix timestamp (seconds since epoch).- Returns:
- estimatedEndTimeUnix
-
setEstimatedEndTimeUnix
-
filterQuery
-
getFilterQuery
Query used to filter and select target hosts for the deployment. Uses the Datadog query syntax.- Returns:
- filterQuery
-
setFilterQuery
-
highLevelStatus
-
getHighLevelStatus
Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").- Returns:
- highLevelStatus
-
setHighLevelStatus
-
hosts
-
addHostsItem
-
getHosts
Paginated list of hosts in this deployment with their individual statuses. Only included when fetching a single deployment by ID. Use thelimitandpagequery parameters to navigate through pages. Pagination metadata is included in the responsemeta.hostsfield.- Returns:
- hosts
-
setHosts
-
packages
-
addPackagesItem
-
getPackages
List of packages to deploy to target hosts. Present only for package upgrade deployments.- Returns:
- packages
-
setPackages
-
totalHosts
-
getTotalHosts
Total number of hosts targeted by this deployment.- Returns:
- totalHosts
-
setTotalHosts
-
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:
- FleetDeploymentAttributes
-
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 FleetDeploymentAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-