Package io.github.cdklabs.projen.gitlab
Interface Link
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Link.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.132Z") @Stability(Experimental) public interface Link extends software.amazon.jsii.JsiiSerializable
(experimental) Link configuration for an asset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLink.BuilderA builder forLinkstatic classLink.Jsii$ProxyAn implementation forLink
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static Link.Builderbuilder()default StringgetFilepath()(experimental) The redirect link to the url.default LinkTypegetLinkType()(experimental) The content kind of what users can download via url.StringgetName()(experimental) The name of the link.StringgetUrl()(experimental) The URL to download a file.
-
-
-
Method Detail
-
getName
@Stability(Experimental) @NotNull String getName()
(experimental) The name of the link.
-
getUrl
@Stability(Experimental) @NotNull String getUrl()
(experimental) The URL to download a file.
-
getFilepath
@Stability(Experimental) @Nullable default String getFilepath()
(experimental) The redirect link to the url.
-
getLinkType
@Stability(Experimental) @Nullable default LinkType getLinkType()
(experimental) The content kind of what users can download via url.
-
builder
@Stability(Experimental) static Link.Builder builder()
- Returns:
- a
Link.BuilderofLink
-
-