@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CsmAgentlessHostAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACCOUNT_ID |
static String |
JSON_PROPERTY_CLOUD_PROVIDER |
static String |
JSON_PROPERTY_HAS_POSTURE_MANAGEMENT |
static String |
JSON_PROPERTY_HAS_VULNERABILITY_SCANNING |
static String |
JSON_PROPERTY_RESOURCE_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CsmAgentlessHostAttributes() |
CsmAgentlessHostAttributes(String accountId,
CsmCloudProvider cloudProvider,
Boolean hasPostureManagement,
Boolean hasVulnerabilityScanning,
CsmAgentlessHostResourceType resourceType) |
| Modifier and Type | Method and Description |
|---|---|
CsmAgentlessHostAttributes |
accountId(String accountId) |
CsmAgentlessHostAttributes |
cloudProvider(CsmCloudProvider cloudProvider) |
boolean |
equals(Object o)
Return true if this CsmAgentlessHostAttributes object is equal to o.
|
String |
getAccountId()
The ID of the cloud account that the host belongs to.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
CsmCloudProvider |
getCloudProvider()
The cloud provider of a host resource.
|
Boolean |
getHasPostureManagement()
Whether CSM Misconfigurations is enabled for this host.
|
Boolean |
getHasVulnerabilityScanning()
Whether CSM Vulnerabilities is enabled for this host.
|
CsmAgentlessHostResourceType |
getResourceType()
The type of cloud resource for an agentless host.
|
int |
hashCode() |
CsmAgentlessHostAttributes |
hasPostureManagement(Boolean hasPostureManagement) |
CsmAgentlessHostAttributes |
hasVulnerabilityScanning(Boolean hasVulnerabilityScanning) |
CsmAgentlessHostAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CsmAgentlessHostAttributes |
resourceType(CsmAgentlessHostResourceType resourceType) |
void |
setAccountId(String accountId) |
void |
setCloudProvider(CsmCloudProvider cloudProvider) |
void |
setHasPostureManagement(Boolean hasPostureManagement) |
void |
setHasVulnerabilityScanning(Boolean hasVulnerabilityScanning) |
void |
setResourceType(CsmAgentlessHostResourceType resourceType) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACCOUNT_ID
public static final String JSON_PROPERTY_CLOUD_PROVIDER
public static final String JSON_PROPERTY_HAS_POSTURE_MANAGEMENT
public static final String JSON_PROPERTY_HAS_VULNERABILITY_SCANNING
public static final String JSON_PROPERTY_RESOURCE_TYPE
public CsmAgentlessHostAttributes()
public CsmAgentlessHostAttributes(String accountId, CsmCloudProvider cloudProvider, Boolean hasPostureManagement, Boolean hasVulnerabilityScanning, CsmAgentlessHostResourceType resourceType)
public CsmAgentlessHostAttributes accountId(String accountId)
public String getAccountId()
public void setAccountId(String accountId)
public CsmAgentlessHostAttributes cloudProvider(CsmCloudProvider cloudProvider)
public CsmCloudProvider getCloudProvider()
public void setCloudProvider(CsmCloudProvider cloudProvider)
public CsmAgentlessHostAttributes hasPostureManagement(Boolean hasPostureManagement)
public Boolean getHasPostureManagement()
true if enabled;
false if disabled.public void setHasPostureManagement(Boolean hasPostureManagement)
public CsmAgentlessHostAttributes hasVulnerabilityScanning(Boolean hasVulnerabilityScanning)
public Boolean getHasVulnerabilityScanning()
true if enabled; false
if disabled.public void setHasVulnerabilityScanning(Boolean hasVulnerabilityScanning)
public CsmAgentlessHostAttributes resourceType(CsmAgentlessHostResourceType resourceType)
public CsmAgentlessHostResourceType getResourceType()
public void setResourceType(CsmAgentlessHostResourceType resourceType)
public CsmAgentlessHostAttributes 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.