Package com.datadog.api.client.v2.model
Class FleetDeploymentOperation
java.lang.Object
com.datadog.api.client.v2.model.FleetDeploymentOperation
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FleetDeploymentOperation
extends Object
A single configuration file operation to perform on the target hosts.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this FleetDeploymentOperation object is equal to o.fileOp(FleetDeploymentFileOp fileOp) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Type of file operation to perform on the target configuration file.Absolute path to the target configuration file on the host.getPatch()Patch data in JSON format to apply to the configuration file.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putPatchItem(String key, Object patchItem) voidsetFileOp(FleetDeploymentFileOp fileOp) voidsetFilePath(String filePath) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FILE_OP
- See Also:
-
JSON_PROPERTY_FILE_PATH
- See Also:
-
JSON_PROPERTY_PATCH
- See Also:
-
-
Constructor Details
-
FleetDeploymentOperation
public FleetDeploymentOperation() -
FleetDeploymentOperation
-
-
Method Details
-
fileOp
-
getFileOp
Type of file operation to perform on the target configuration file. -merge-patch: Merges the provided patch data with the existing configuration file. Creates the file if it doesn't exist. -delete: Removes the specified configuration file from the target hosts.- Returns:
- fileOp
-
setFileOp
-
filePath
-
getFilePath
Absolute path to the target configuration file on the host.- Returns:
- filePath
-
setFilePath
-
patch
-
putPatchItem
-
getPatch
Patch data in JSON format to apply to the configuration file. When usingmerge-patch, this object is merged with the existing configuration, allowing you to add, update, or override specific fields without replacing the entire file. The structure must match the target configuration file format (for example, YAML structure for Datadog Agent config). Not applicable when using thedeleteoperation.- Returns:
- patch
-
setPatch
-
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:
- FleetDeploymentOperation
-
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 FleetDeploymentOperation object is equal to o. -
hashCode
public int hashCode() -
toString
-