@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FleetDeploymentOperation extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FILE_OP |
static String |
JSON_PROPERTY_FILE_PATH |
static String |
JSON_PROPERTY_PATCH |
boolean |
unparsed |
| Constructor and Description |
|---|
FleetDeploymentOperation() |
FleetDeploymentOperation(FleetDeploymentFileOp fileOp,
String filePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this FleetDeploymentOperation object is equal to o.
|
FleetDeploymentOperation |
fileOp(FleetDeploymentFileOp fileOp) |
FleetDeploymentOperation |
filePath(String filePath) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
FleetDeploymentFileOp |
getFileOp()
Type of file operation to perform on the target configuration file.
|
String |
getFilePath()
Absolute path to the target configuration file on the host.
|
Map<String,Object> |
getPatch()
Patch data in JSON format to apply to the configuration file.
|
int |
hashCode() |
FleetDeploymentOperation |
patch(Map<String,Object> patch) |
FleetDeploymentOperation |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FleetDeploymentOperation |
putPatchItem(String key,
Object patchItem) |
void |
setFileOp(FleetDeploymentFileOp fileOp) |
void |
setFilePath(String filePath) |
void |
setPatch(Map<String,Object> patch) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_FILE_OP
public static final String JSON_PROPERTY_FILE_PATH
public static final String JSON_PROPERTY_PATCH
public FleetDeploymentOperation()
public FleetDeploymentOperation(FleetDeploymentFileOp fileOp, String filePath)
public FleetDeploymentOperation fileOp(FleetDeploymentFileOp fileOp)
public FleetDeploymentFileOp getFileOp()
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.public void setFileOp(FleetDeploymentFileOp fileOp)
public FleetDeploymentOperation filePath(String filePath)
public String getFilePath()
public void setFilePath(String filePath)
public FleetDeploymentOperation patch(Map<String,Object> patch)
public FleetDeploymentOperation putPatchItem(String key, Object patchItem)
@Nullable public Map<String,Object> getPatch()
merge-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 the delete operation.public FleetDeploymentOperation 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.