Class ApplicationMenuSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.console.v1.ApplicationMenuSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ApplicationMenuSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ApplicationMenuSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ApplicationMenuSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ApplicationMenuSpec is the specification of the desired section and icon used for the link in the application menu.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationMenuSpec()No args constructor for use in serializationApplicationMenuSpec(String imageURL, String section)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationMenuSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetImageURL()imageURL is the URL for the icon used in front of the link in the application menu.StringgetSection()section is the section of the application menu in which the link should appear.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetImageURL(String imageURL)imageURL is the URL for the icon used in front of the link in the application menu.voidsetSection(String section)section is the section of the application menu in which the link should appear.ApplicationMenuSpecBuildertoBuilder()
-
-
-
Method Detail
-
getImageURL
public String getImageURL()
imageURL is the URL for the icon used in front of the link in the application menu. The URL must be an HTTPS URL or a Data URI. The image should be square and will be shown at 24x24 pixels.
-
setImageURL
public void setImageURL(String imageURL)
imageURL is the URL for the icon used in front of the link in the application menu. The URL must be an HTTPS URL or a Data URI. The image should be square and will be shown at 24x24 pixels.
-
getSection
public String getSection()
section is the section of the application menu in which the link should appear. This can be any text that will appear as a subheading in the application menu dropdown. A new section will be created if the text does not match text of an existing section.
-
setSection
public void setSection(String section)
section is the section of the application menu in which the link should appear. This can be any text that will appear as a subheading in the application menu dropdown. A new section will be created if the text does not match text of an existing section.
-
edit
public ApplicationMenuSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ApplicationMenuSpecBuilder>
-
toBuilder
public ApplicationMenuSpecBuilder toBuilder()
-
-