Package com.datadog.api.client.v2.model
Class FleetDeploymentConfigureV2Attributes
java.lang.Object
com.datadog.api.client.v2.model.FleetDeploymentConfigureV2Attributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetDeploymentConfigureV2Attributes
extends Object
Attributes for creating a new v2 configuration deployment.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFleetDeploymentConfigureV2Attributes(List<FleetDeploymentOperation> configOperations, String filterQuery) -
Method Summary
Modifier and TypeMethodDescriptionaddConfigOperationsItem(FleetDeploymentOperation configOperationsItem) addTargetPackagesItem(FleetDeploymentConfigureV2Package targetPackagesItem) configOperations(List<FleetDeploymentOperation> configOperations) booleanReturn true if this FleetDeploymentConfigureV2Attributes object is equal to o.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.Set totrueto validate the configuration and resolve target hosts and packages without deploying anything.Query used to filter and select target hosts for the deployment.List of packages and their target versions to additionally deploy alongside the configuration change.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfigOperations(List<FleetDeploymentOperation> configOperations) voidvoidsetFilterQuery(String filterQuery) voidsetTargetPackages(List<FleetDeploymentConfigureV2Package> targetPackages) targetPackages(List<FleetDeploymentConfigureV2Package> targetPackages) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIG_OPERATIONS
- See Also:
-
JSON_PROPERTY_DRY_RUN
- See Also:
-
JSON_PROPERTY_FILTER_QUERY
- See Also:
-
JSON_PROPERTY_TARGET_PACKAGES
- See Also:
-
-
Constructor Details
-
FleetDeploymentConfigureV2Attributes
public FleetDeploymentConfigureV2Attributes() -
FleetDeploymentConfigureV2Attributes
public FleetDeploymentConfigureV2Attributes(List<FleetDeploymentOperation> configOperations, String filterQuery)
-
-
Method Details
-
configOperations
public FleetDeploymentConfigureV2Attributes configOperations(List<FleetDeploymentOperation> configOperations) -
addConfigOperationsItem
public FleetDeploymentConfigureV2Attributes addConfigOperationsItem(FleetDeploymentOperation configOperationsItem) -
getConfigOperations
Ordered list of configuration file operations to perform on the target hosts.- Returns:
- configOperations
-
setConfigOperations
-
dryRun
-
getDryRun
Set totrueto validate the configuration and resolve target hosts and packages without deploying anything. Returns a 200 with the validation result instead of creating and starting a real deployment.- Returns:
- dryRun
-
setDryRun
-
filterQuery
-
getFilterQuery
Query used to filter and select target hosts for the deployment. Uses the Datadog query syntax.- Returns:
- filterQuery
-
setFilterQuery
-
targetPackages
public FleetDeploymentConfigureV2Attributes targetPackages(List<FleetDeploymentConfigureV2Package> targetPackages) -
addTargetPackagesItem
public FleetDeploymentConfigureV2Attributes addTargetPackagesItem(FleetDeploymentConfigureV2Package targetPackagesItem) -
getTargetPackages
List of packages and their target versions to additionally deploy alongside the configuration change.- 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:
- FleetDeploymentConfigureV2Attributes
-
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 FleetDeploymentConfigureV2Attributes object is equal to o. -
hashCode
public int hashCode() -
toString
-