Class TimeInterval
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.TimeInterval
-
- All Implemented Interfaces:
Editable<TimeIntervalBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TimeInterval extends Object implements Editable<TimeIntervalBuilder>, KubernetesResource
TimeInterval specifies the periods in time when notifications will be muted or active.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeInterval()No args constructor for use in serializationTimeInterval(String name, List<TimePeriod> timeIntervals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeIntervalBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name of the time interval.List<TimePeriod>getTimeIntervals()timeIntervals defines a list of TimePeriod.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name of the time interval.voidsetTimeIntervals(List<TimePeriod> timeIntervals)timeIntervals defines a list of TimePeriod.TimeIntervalBuildertoBuilder()
-
-
-
Constructor Detail
-
TimeInterval
public TimeInterval()
No args constructor for use in serialization
-
TimeInterval
public TimeInterval(String name, List<TimePeriod> timeIntervals)
-
-
Method Detail
-
getName
public String getName()
name of the time interval.
-
setName
public void setName(String name)
name of the time interval.
-
getTimeIntervals
public List<TimePeriod> getTimeIntervals()
timeIntervals defines a list of TimePeriod.
-
setTimeIntervals
public void setTimeIntervals(List<TimePeriod> timeIntervals)
timeIntervals defines a list of TimePeriod.
-
edit
public TimeIntervalBuilder edit()
- Specified by:
editin interfaceEditable<TimeIntervalBuilder>
-
toBuilder
public TimeIntervalBuilder toBuilder()
-
-