Package com.datadog.api.client.v2.model
Class CreateSnapshotDataAttributesRequest
java.lang.Object
com.datadog.api.client.v2.model.CreateSnapshotDataAttributesRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateSnapshotDataAttributesRequest
extends Object
Attributes for snapshot creation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionadditionalConfig(CreateSnapshotAdditionalConfig additionalConfig) booleanReturn true if this CreateSnapshotDataAttributesRequest object is equal to o.Additional configuration options for snapshot creation.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getEnd()End of the time window for the snapshot, in milliseconds since Unix epoch.The height of the rendered snapshot in pixels.Whether the snapshot requires authentication to view.getStart()Start of the time window for the snapshot, in milliseconds since Unix epoch.getTtl()The time-to-live for the snapshot.The widget definition to render as a snapshot.getWidth()The width of the rendered snapshot in pixels.inthashCode()isAuthenticated(Boolean isAuthenticated) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putWidgetDefinitionItem(String key, Object widgetDefinitionItem) voidsetAdditionalConfig(CreateSnapshotAdditionalConfig additionalConfig) voidvoidvoidsetIsAuthenticated(Boolean isAuthenticated) voidvoidsetTtl(CreateSnapshotTTL ttl) voidsetWidgetDefinition(Map<String, Object> widgetDefinition) voidtoString()ttl(CreateSnapshotTTL ttl) widgetDefinition(Map<String, Object> widgetDefinition)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ADDITIONAL_CONFIG
- See Also:
-
JSON_PROPERTY_END
- See Also:
-
JSON_PROPERTY_HEIGHT
- See Also:
-
JSON_PROPERTY_IS_AUTHENTICATED
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_TTL
- See Also:
-
JSON_PROPERTY_WIDGET_DEFINITION
- See Also:
-
JSON_PROPERTY_WIDTH
- See Also:
-
-
Constructor Details
-
CreateSnapshotDataAttributesRequest
public CreateSnapshotDataAttributesRequest() -
CreateSnapshotDataAttributesRequest
-
-
Method Details
-
additionalConfig
public CreateSnapshotDataAttributesRequest additionalConfig(CreateSnapshotAdditionalConfig additionalConfig) -
getAdditionalConfig
Additional configuration options for snapshot creation.- Returns:
- additionalConfig
-
setAdditionalConfig
-
end
-
getEnd
End of the time window for the snapshot, in milliseconds since Unix epoch.- Returns:
- end
-
setEnd
-
height
-
getHeight
The height of the rendered snapshot in pixels.- Returns:
- height
-
setHeight
-
isAuthenticated
-
getIsAuthenticated
Whether the snapshot requires authentication to view. Authenticated snapshots are scoped to the creating organization.- Returns:
- isAuthenticated
-
setIsAuthenticated
-
start
-
getStart
Start of the time window for the snapshot, in milliseconds since Unix epoch.- Returns:
- start
-
setStart
-
ttl
-
getTtl
The time-to-live for the snapshot. This value corresponds to storage lifecycle policies that automatically delete the snapshot after the specified period.- Returns:
- ttl
-
setTtl
-
widgetDefinition
-
putWidgetDefinitionItem
public CreateSnapshotDataAttributesRequest putWidgetDefinitionItem(String key, Object widgetDefinitionItem) -
getWidgetDefinition
The widget definition to render as a snapshot. Must include a validtypefield and non-emptyrequestsarray.- Returns:
- widgetDefinition
-
setWidgetDefinition
-
width
-
getWidth
The width of the rendered snapshot in pixels.- Returns:
- width
-
setWidth
-
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:
- CreateSnapshotDataAttributesRequest
-
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 CreateSnapshotDataAttributesRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-