@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LayerAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_EFFECTIVE_DATE |
static String |
JSON_PROPERTY_END_DATE |
static String |
JSON_PROPERTY_INTERVAL |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RESTRICTIONS |
static String |
JSON_PROPERTY_ROTATION_START |
boolean |
unparsed |
| Constructor and Description |
|---|
LayerAttributes() |
| Modifier and Type | Method and Description |
|---|---|
LayerAttributes |
addRestrictionsItem(TimeRestriction restrictionsItem) |
LayerAttributes |
effectiveDate(OffsetDateTime effectiveDate) |
LayerAttributes |
endDate(OffsetDateTime endDate) |
boolean |
equals(Object o)
Return true if this LayerAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
OffsetDateTime |
getEffectiveDate()
When the layer becomes active (ISO 8601).
|
OffsetDateTime |
getEndDate()
When the layer ceases to be active (ISO 8601).
|
LayerAttributesInterval |
getInterval()
Defines how often the rotation repeats, using a combination of days and optional seconds.
|
String |
getName()
The name of this layer.
|
List<TimeRestriction> |
getRestrictions()
An optional list of time restrictions for when this layer is in effect.
|
OffsetDateTime |
getRotationStart()
The date/time when the rotation starts (ISO 8601).
|
int |
hashCode() |
LayerAttributes |
interval(LayerAttributesInterval interval) |
LayerAttributes |
name(String name) |
LayerAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LayerAttributes |
restrictions(List<TimeRestriction> restrictions) |
LayerAttributes |
rotationStart(OffsetDateTime rotationStart) |
void |
setEffectiveDate(OffsetDateTime effectiveDate) |
void |
setEndDate(OffsetDateTime endDate) |
void |
setInterval(LayerAttributesInterval interval) |
void |
setName(String name) |
void |
setRestrictions(List<TimeRestriction> restrictions) |
void |
setRotationStart(OffsetDateTime rotationStart) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_EFFECTIVE_DATE
public static final String JSON_PROPERTY_END_DATE
public static final String JSON_PROPERTY_INTERVAL
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RESTRICTIONS
public static final String JSON_PROPERTY_ROTATION_START
public LayerAttributes effectiveDate(OffsetDateTime effectiveDate)
@Nullable public OffsetDateTime getEffectiveDate()
public void setEffectiveDate(OffsetDateTime effectiveDate)
public LayerAttributes endDate(OffsetDateTime endDate)
@Nullable public OffsetDateTime getEndDate()
public void setEndDate(OffsetDateTime endDate)
public LayerAttributes interval(LayerAttributesInterval interval)
@Nullable public LayerAttributesInterval getInterval()
public void setInterval(LayerAttributesInterval interval)
public LayerAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public LayerAttributes restrictions(List<TimeRestriction> restrictions)
public LayerAttributes addRestrictionsItem(TimeRestriction restrictionsItem)
@Nullable public List<TimeRestriction> getRestrictions()
public void setRestrictions(List<TimeRestriction> restrictions)
public LayerAttributes rotationStart(OffsetDateTime rotationStart)
@Nullable public OffsetDateTime getRotationStart()
public void setRotationStart(OffsetDateTime rotationStart)
public LayerAttributes 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 © 2025. All rights reserved.