@Stability(value=Experimental) public static final class LicenseOptions.Builder extends Object implements software.amazon.jsii.Builder<LicenseOptions>
LicenseOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LicenseOptions |
build()
Builds the configured instance.
|
LicenseOptions.Builder |
copyrightOwner(String copyrightOwner)
Sets the value of
LicenseOptions.getCopyrightOwner() |
LicenseOptions.Builder |
copyrightPeriod(String copyrightPeriod)
Sets the value of
LicenseOptions.getCopyrightPeriod() |
LicenseOptions.Builder |
spdx(String spdx)
Sets the value of
LicenseOptions.getSpdx() |
@Stability(value=Experimental) public LicenseOptions.Builder spdx(String spdx)
LicenseOptions.getSpdx()spdx - License type (SPDX). This parameter is required.this@Stability(value=Experimental) public LicenseOptions.Builder copyrightOwner(String copyrightOwner)
LicenseOptions.getCopyrightOwner()copyrightOwner - Copyright owner.
If the license text has $copyright_owner, this option must be specified.this@Stability(value=Experimental) public LicenseOptions.Builder copyrightPeriod(String copyrightPeriod)
LicenseOptions.getCopyrightPeriod()copyrightPeriod - Period of license (e.g. "1998-2023").
The string $copyright_period will be substituted with this string.this@Stability(value=Experimental) public LicenseOptions build()
build in interface software.amazon.jsii.Builder<LicenseOptions>LicenseOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.