Package com.datadog.api.client.v2.model
Class FleetDeploymentPackageUpgradeV2Attributes
java.lang.Object
com.datadog.api.client.v2.model.FleetDeploymentPackageUpgradeV2Attributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetDeploymentPackageUpgradeV2Attributes
extends Object
Attributes for creating a new v2 package upgrade deployment.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFleetDeploymentPackageUpgradeV2Attributes(String filterQuery, List<FleetDeploymentPackage> targetPackages) -
Method Summary
Modifier and TypeMethodDescriptionaddTargetPackagesItem(FleetDeploymentPackage targetPackagesItem) booleanReturn true if this FleetDeploymentPackageUpgradeV2Attributes object is equal to o.filterQuery(String filterQuery) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Query used to filter and select target hosts for the deployment.List of packages and their target versions to deploy to the selected hosts.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFilterQuery(String filterQuery) voidsetTargetPackages(List<FleetDeploymentPackage> targetPackages) targetPackages(List<FleetDeploymentPackage> targetPackages) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FILTER_QUERY
- See Also:
-
JSON_PROPERTY_TARGET_PACKAGES
- See Also:
-
-
Constructor Details
-
FleetDeploymentPackageUpgradeV2Attributes
public FleetDeploymentPackageUpgradeV2Attributes() -
FleetDeploymentPackageUpgradeV2Attributes
public FleetDeploymentPackageUpgradeV2Attributes(String filterQuery, List<FleetDeploymentPackage> targetPackages)
-
-
Method Details
-
filterQuery
-
getFilterQuery
Query used to filter and select target hosts for the deployment. Uses the Datadog query syntax.- Returns:
- filterQuery
-
setFilterQuery
-
targetPackages
public FleetDeploymentPackageUpgradeV2Attributes targetPackages(List<FleetDeploymentPackage> targetPackages) -
addTargetPackagesItem
public FleetDeploymentPackageUpgradeV2Attributes addTargetPackagesItem(FleetDeploymentPackage targetPackagesItem) -
getTargetPackages
List of packages and their target versions to deploy to the selected hosts.- Returns:
- targetPackages
-
setTargetPackages
-
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:
- FleetDeploymentPackageUpgradeV2Attributes
-
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 FleetDeploymentPackageUpgradeV2Attributes object is equal to o. -
hashCode
public int hashCode() -
toString
-