Class CfnApplication.Builder
java.lang.Object
software.amazon.awscdk.services.serverlessrepo.CfnApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
- Enclosing class:
CfnApplication
@Stability(Stable)
public static final class CfnApplication.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication>
A fluent builder for
CfnApplication.-
Method Summary
Modifier and TypeMethodDescriptionThe name of the author publishing the app.build()static CfnApplication.Builderdescription(String description) The description of the application.homePageUrl(String homePageUrl) A URL with more information about the application.Labels to improve discovery of apps in search results.licenseBody(String licenseBody) A local text file that contains the license of the app.The name of the application.readmeBody(String readmeBody) A text readme file in Markdown language that contains a more detailed description of the application.semanticVersion(String semanticVersion) The semantic version of the application.sourceCodeUrl(String sourceCodeUrl) A link to a public repository for the source code of your application.spdxLicenseId(String spdxLicenseId) A valid identifier from https://spdx.org/licenses/.templateBody(String templateBody) The local raw packaged AWS SAM template file of your application.
-
Method Details
-
create
@Stability(Stable) public static CfnApplication.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApplication.Builder.
-
author
The name of the author publishing the app.- Parameters:
author- The name of the author publishing the app. This parameter is required.- Returns:
this- See Also:
-
description
The description of the application.- Parameters:
description- The description of the application. This parameter is required.- Returns:
this- See Also:
-
name
The name of the application.- Parameters:
name- The name of the application. This parameter is required.- Returns:
this- See Also:
-
homePageUrl
A URL with more information about the application.- Parameters:
homePageUrl- A URL with more information about the application. This parameter is required.- Returns:
this- See Also:
-
labels
Labels to improve discovery of apps in search results.- Parameters:
labels- Labels to improve discovery of apps in search results. This parameter is required.- Returns:
this- See Also:
-
licenseBody
A local text file that contains the license of the app.- Parameters:
licenseBody- A local text file that contains the license of the app. This parameter is required.- Returns:
this- See Also:
-
readmeBody
A text readme file in Markdown language that contains a more detailed description of the application.- Parameters:
readmeBody- A text readme file in Markdown language that contains a more detailed description of the application. This parameter is required.- Returns:
this- See Also:
-
semanticVersion
The semantic version of the application.- Parameters:
semanticVersion- The semantic version of the application. This parameter is required.- Returns:
this- See Also:
-
sourceCodeUrl
A link to a public repository for the source code of your application.- Parameters:
sourceCodeUrl- A link to a public repository for the source code of your application. This parameter is required.- Returns:
this- See Also:
-
spdxLicenseId
A valid identifier from https://spdx.org/licenses/.- Parameters:
spdxLicenseId- A valid identifier from https://spdx.org/licenses/. This parameter is required.- Returns:
this- See Also:
-
templateBody
The local raw packaged AWS SAM template file of your application.- Parameters:
templateBody- The local raw packaged AWS SAM template file of your application. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication>- Returns:
- a newly built instance of
CfnApplication.
-