Package com.datadog.api.client.v2.model
Class LayerAttributes
java.lang.Object
com.datadog.api.client.v2.model.LayerAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LayerAttributes
extends Object
Describes key properties of a Layer, including rotation details, name, start/end times, and any
restrictions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRestrictionsItem(TimeRestriction restrictionsItem) effectiveDate(OffsetDateTime effectiveDate) endDate(OffsetDateTime endDate) booleanReturn true if this LayerAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.When the layer becomes active (ISO 8601).When the layer ceases to be active (ISO 8601).Defines how often the rotation repeats, using a combination of days and optional seconds.getName()The name of this layer.An optional list of time restrictions for when this layer is in effect.The date/time when the rotation starts (ISO 8601).The time zone for this layer.inthashCode()interval(LayerAttributesInterval interval) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.restrictions(List<TimeRestriction> restrictions) rotationStart(OffsetDateTime rotationStart) voidsetEffectiveDate(OffsetDateTime effectiveDate) voidsetEndDate(OffsetDateTime endDate) voidsetInterval(LayerAttributesInterval interval) voidvoidsetRestrictions(List<TimeRestriction> restrictions) voidsetRotationStart(OffsetDateTime rotationStart) voidsetTimeZone(String timeZone) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_EFFECTIVE_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESTRICTIONS
- See Also:
-
JSON_PROPERTY_ROTATION_START
- See Also:
-
JSON_PROPERTY_TIME_ZONE
- See Also:
-
-
Constructor Details
-
LayerAttributes
public LayerAttributes()
-
-
Method Details
-
effectiveDate
-
getEffectiveDate
When the layer becomes active (ISO 8601).- Returns:
- effectiveDate
-
setEffectiveDate
-
endDate
-
getEndDate
When the layer ceases to be active (ISO 8601).- Returns:
- endDate
-
setEndDate
-
interval
-
getInterval
Defines how often the rotation repeats, using a combination of days and optional seconds. Should be at least 1 hour.- Returns:
- interval
-
setInterval
-
name
-
getName
The name of this layer.- Returns:
- name
-
setName
-
restrictions
-
addRestrictionsItem
-
getRestrictions
An optional list of time restrictions for when this layer is in effect.- Returns:
- restrictions
-
setRestrictions
-
rotationStart
-
getRotationStart
The date/time when the rotation starts (ISO 8601).- Returns:
- rotationStart
-
setRotationStart
-
timeZone
-
getTimeZone
The time zone for this layer.- Returns:
- timeZone
-
setTimeZone
-
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:
- LayerAttributes
-
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 LayerAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-