Class CfnApplicationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.serverlessrepo.CfnApplicationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationMixinProps>
- Enclosing interface:
CfnApplicationMixinProps
@Stability(Stable)
public static final class CfnApplicationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationMixinProps>
A builder for
CfnApplicationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApplicationMixinProps.getAuthor()build()Builds the configured instance.description(String description) Sets the value ofCfnApplicationMixinProps.getDescription()homePageUrl(String homePageUrl) Sets the value ofCfnApplicationMixinProps.getHomePageUrl()Sets the value ofCfnApplicationMixinProps.getLabels()licenseBody(String licenseBody) Sets the value ofCfnApplicationMixinProps.getLicenseBody()Sets the value ofCfnApplicationMixinProps.getName()readmeBody(String readmeBody) Sets the value ofCfnApplicationMixinProps.getReadmeBody()semanticVersion(String semanticVersion) Sets the value ofCfnApplicationMixinProps.getSemanticVersion()sourceCodeUrl(String sourceCodeUrl) Sets the value ofCfnApplicationMixinProps.getSourceCodeUrl()spdxLicenseId(String spdxLicenseId) Sets the value ofCfnApplicationMixinProps.getSpdxLicenseId()templateBody(String templateBody) Sets the value ofCfnApplicationMixinProps.getTemplateBody()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
author
Sets the value ofCfnApplicationMixinProps.getAuthor()- Parameters:
author- The name of the author publishing the app.- Returns:
this
-
description
Sets the value ofCfnApplicationMixinProps.getDescription()- Parameters:
description- The description of the application.- Returns:
this
-
homePageUrl
Sets the value ofCfnApplicationMixinProps.getHomePageUrl()- Parameters:
homePageUrl- A URL with more information about the application.- Returns:
this
-
labels
Sets the value ofCfnApplicationMixinProps.getLabels()- Parameters:
labels- Labels to improve discovery of apps in search results.- Returns:
this
-
licenseBody
Sets the value ofCfnApplicationMixinProps.getLicenseBody()- Parameters:
licenseBody- A local text file that contains the license of the app.- Returns:
this
-
name
Sets the value ofCfnApplicationMixinProps.getName()- Parameters:
name- The name of the application.- Returns:
this
-
readmeBody
Sets the value ofCfnApplicationMixinProps.getReadmeBody()- Parameters:
readmeBody- A text readme file in Markdown language that contains a more detailed description of the application.- Returns:
this
-
semanticVersion
Sets the value ofCfnApplicationMixinProps.getSemanticVersion()- Parameters:
semanticVersion- The semantic version of the application.- Returns:
this
-
sourceCodeUrl
Sets the value ofCfnApplicationMixinProps.getSourceCodeUrl()- Parameters:
sourceCodeUrl- A link to a public repository for the source code of your application.- Returns:
this
-
spdxLicenseId
Sets the value ofCfnApplicationMixinProps.getSpdxLicenseId()- Parameters:
spdxLicenseId- A valid identifier from https://spdx.org/licenses/.- Returns:
this
-
templateBody
Sets the value ofCfnApplicationMixinProps.getTemplateBody()- Parameters:
templateBody- The local raw packaged AWS SAM template file of your application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationMixinProps>- Returns:
- a new instance of
CfnApplicationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-