Package com.datadog.api.client.v2.model
Class CsmAgentlessHostAttributes
java.lang.Object
com.datadog.api.client.v2.model.CsmAgentlessHostAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CsmAgentlessHostAttributes
extends Object
Attributes of an agentless host.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCsmAgentlessHostAttributes(String accountId, CsmCloudProvider cloudProvider, Boolean hasPostureManagement, Boolean hasVulnerabilityScanning, CsmAgentlessHostResourceType resourceType) -
Method Summary
Modifier and TypeMethodDescriptioncloudProvider(CsmCloudProvider cloudProvider) booleanReturn true if this CsmAgentlessHostAttributes object is equal to o.The ID of the cloud account that the host belongs to.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The cloud provider of a host resource.Whether CSM Misconfigurations is enabled for this host.Whether CSM Vulnerabilities is enabled for this host.The type of cloud resource for an agentless host.inthashCode()hasPostureManagement(Boolean hasPostureManagement) hasVulnerabilityScanning(Boolean hasVulnerabilityScanning) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceType(CsmAgentlessHostResourceType resourceType) voidsetAccountId(String accountId) voidsetCloudProvider(CsmCloudProvider cloudProvider) voidsetHasPostureManagement(Boolean hasPostureManagement) voidsetHasVulnerabilityScanning(Boolean hasVulnerabilityScanning) voidsetResourceType(CsmAgentlessHostResourceType resourceType) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACCOUNT_ID
- See Also:
-
JSON_PROPERTY_CLOUD_PROVIDER
- See Also:
-
JSON_PROPERTY_HAS_POSTURE_MANAGEMENT
- See Also:
-
JSON_PROPERTY_HAS_VULNERABILITY_SCANNING
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE
- See Also:
-
-
Constructor Details
-
CsmAgentlessHostAttributes
public CsmAgentlessHostAttributes() -
CsmAgentlessHostAttributes
public CsmAgentlessHostAttributes(String accountId, CsmCloudProvider cloudProvider, Boolean hasPostureManagement, Boolean hasVulnerabilityScanning, CsmAgentlessHostResourceType resourceType)
-
-
Method Details
-
accountId
-
getAccountId
The ID of the cloud account that the host belongs to.- Returns:
- accountId
-
setAccountId
-
cloudProvider
-
getCloudProvider
The cloud provider of a host resource.- Returns:
- cloudProvider
-
setCloudProvider
-
hasPostureManagement
-
getHasPostureManagement
Whether CSM Misconfigurations is enabled for this host.trueif enabled;falseif disabled.- Returns:
- hasPostureManagement
-
setHasPostureManagement
-
hasVulnerabilityScanning
-
getHasVulnerabilityScanning
Whether CSM Vulnerabilities is enabled for this host.trueif enabled;falseif disabled.- Returns:
- hasVulnerabilityScanning
-
setHasVulnerabilityScanning
-
resourceType
-
getResourceType
The type of cloud resource for an agentless host.- Returns:
- resourceType
-
setResourceType
-
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:
- CsmAgentlessHostAttributes
-
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 CsmAgentlessHostAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-