Package com.intercom.api.types
Interface ImageComponent._FinalStage
-
- All Known Implementing Classes:
ImageComponent.Builder
- Enclosing class:
- ImageComponent
public static interface ImageComponent._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageComponent._FinalStageaction(UrlActionComponent action)ImageComponent._FinalStageaction(java.util.Optional<UrlActionComponent> action)This can be a URL Action only.ImageComponent._FinalStagealign(ImageComponent.Align align)ImageComponent._FinalStagealign(java.util.Optional<ImageComponent.Align> align)Aligns the image inside the component.ImageComponent._FinalStagebottomMargin(java.lang.String bottomMargin)ImageComponent._FinalStagebottomMargin(java.util.Optional<java.lang.String> bottomMargin)Disables a component's margin-bottom of 10px.ImageComponentbuild()ImageComponent._FinalStageid(java.lang.String id)ImageComponent._FinalStageid(java.util.Optional<java.lang.String> id)A unique identifier for the component.ImageComponent._FinalStagerounded(java.lang.Boolean rounded)ImageComponent._FinalStagerounded(java.util.Optional<java.lang.Boolean> rounded)Rounds the corners of the image.
-
-
-
Method Detail
-
build
ImageComponent build()
-
id
ImageComponent._FinalStage id(java.util.Optional<java.lang.String> id)
A unique identifier for the component.
-
id
ImageComponent._FinalStage id(java.lang.String id)
-
align
ImageComponent._FinalStage align(java.util.Optional<ImageComponent.Align> align)
Aligns the image inside the component. Default is
left.
-
align
ImageComponent._FinalStage align(ImageComponent.Align align)
-
rounded
ImageComponent._FinalStage rounded(java.util.Optional<java.lang.Boolean> rounded)
Rounds the corners of the image. Default is
false.
-
rounded
ImageComponent._FinalStage rounded(java.lang.Boolean rounded)
-
bottomMargin
ImageComponent._FinalStage bottomMargin(java.util.Optional<java.lang.String> bottomMargin)
Disables a component's margin-bottom of 10px.
-
bottomMargin
ImageComponent._FinalStage bottomMargin(java.lang.String bottomMargin)
-
action
ImageComponent._FinalStage action(java.util.Optional<UrlActionComponent> action)
This can be a URL Action only.
-
action
ImageComponent._FinalStage action(UrlActionComponent action)
-
-