Class ConsoleNotificationSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.console.v1.ConsoleNotificationSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConsoleNotificationSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConsoleNotificationSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConsoleNotificationSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ConsoleNotificationSpec is the desired console notification configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsoleNotificationSpec()No args constructor for use in serializationConsoleNotificationSpec(String backgroundColor, String color, Link link, String location, String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleNotificationSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetBackgroundColor()backgroundColor is the color of the background for the notification as CSS data type color.StringgetColor()color is the color of the text for the notification as CSS data type color.LinkgetLink()ConsoleNotificationSpec is the desired console notification configuration.StringgetLocation()location is the location of the notification in the console.StringgetText()text is the visible text of the notification.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBackgroundColor(String backgroundColor)backgroundColor is the color of the background for the notification as CSS data type color.voidsetColor(String color)color is the color of the text for the notification as CSS data type color.voidsetLink(Link link)ConsoleNotificationSpec is the desired console notification configuration.voidsetLocation(String location)location is the location of the notification in the console.voidsetText(String text)text is the visible text of the notification.ConsoleNotificationSpecBuildertoBuilder()
-
-
-
Method Detail
-
getBackgroundColor
public String getBackgroundColor()
backgroundColor is the color of the background for the notification as CSS data type color.
-
setBackgroundColor
public void setBackgroundColor(String backgroundColor)
backgroundColor is the color of the background for the notification as CSS data type color.
-
getColor
public String getColor()
color is the color of the text for the notification as CSS data type color.
-
setColor
public void setColor(String color)
color is the color of the text for the notification as CSS data type color.
-
getLink
public Link getLink()
ConsoleNotificationSpec is the desired console notification configuration.
-
setLink
public void setLink(Link link)
ConsoleNotificationSpec is the desired console notification configuration.
-
getLocation
public String getLocation()
location is the location of the notification in the console. Valid values are: "BannerTop", "BannerBottom", "BannerTopBottom".
-
setLocation
public void setLocation(String location)
location is the location of the notification in the console. Valid values are: "BannerTop", "BannerBottom", "BannerTopBottom".
-
getText
public String getText()
text is the visible text of the notification.
-
setText
public void setText(String text)
text is the visible text of the notification.
-
edit
public ConsoleNotificationSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConsoleNotificationSpecBuilder>
-
toBuilder
public ConsoleNotificationSpecBuilder toBuilder()
-
-