Class ConsoleLinkSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.console.v1.ConsoleLinkSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConsoleLinkSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConsoleLinkSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConsoleLinkSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ConsoleLinkSpec is the desired console link configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsoleLinkSpec()No args constructor for use in serializationConsoleLinkSpec(ApplicationMenuSpec applicationMenu, String href, String location, NamespaceDashboardSpec namespaceDashboard, String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleLinkSpecBuilderedit()Map<String,Object>getAdditionalProperties()ApplicationMenuSpecgetApplicationMenu()ConsoleLinkSpec is the desired console link configuration.StringgetHref()href is the absolute secure URL for the link (must use https)StringgetLocation()location determines which location in the console the link will be appended to (ApplicationMenu, HelpMenu, UserMenu, NamespaceDashboard).NamespaceDashboardSpecgetNamespaceDashboard()ConsoleLinkSpec is the desired console link configuration.StringgetText()text is the display text for the linkvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApplicationMenu(ApplicationMenuSpec applicationMenu)ConsoleLinkSpec is the desired console link configuration.voidsetHref(String href)href is the absolute secure URL for the link (must use https)voidsetLocation(String location)location determines which location in the console the link will be appended to (ApplicationMenu, HelpMenu, UserMenu, NamespaceDashboard).voidsetNamespaceDashboard(NamespaceDashboardSpec namespaceDashboard)ConsoleLinkSpec is the desired console link configuration.voidsetText(String text)text is the display text for the linkConsoleLinkSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
ConsoleLinkSpec
public ConsoleLinkSpec()
No args constructor for use in serialization
-
ConsoleLinkSpec
public ConsoleLinkSpec(ApplicationMenuSpec applicationMenu, String href, String location, NamespaceDashboardSpec namespaceDashboard, String text)
-
-
Method Detail
-
getApplicationMenu
public ApplicationMenuSpec getApplicationMenu()
ConsoleLinkSpec is the desired console link configuration.
-
setApplicationMenu
public void setApplicationMenu(ApplicationMenuSpec applicationMenu)
ConsoleLinkSpec is the desired console link configuration.
-
getHref
public String getHref()
href is the absolute secure URL for the link (must use https)
-
setHref
public void setHref(String href)
href is the absolute secure URL for the link (must use https)
-
getLocation
public String getLocation()
location determines which location in the console the link will be appended to (ApplicationMenu, HelpMenu, UserMenu, NamespaceDashboard).
-
setLocation
public void setLocation(String location)
location determines which location in the console the link will be appended to (ApplicationMenu, HelpMenu, UserMenu, NamespaceDashboard).
-
getNamespaceDashboard
public NamespaceDashboardSpec getNamespaceDashboard()
ConsoleLinkSpec is the desired console link configuration.
-
setNamespaceDashboard
public void setNamespaceDashboard(NamespaceDashboardSpec namespaceDashboard)
ConsoleLinkSpec is the desired console link configuration.
-
getText
public String getText()
text is the display text for the link
-
setText
public void setText(String text)
text is the display text for the link
-
edit
public ConsoleLinkSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConsoleLinkSpecBuilder>
-
toBuilder
public ConsoleLinkSpecBuilder toBuilder()
-
-