public static final class CfnLayerVersionProps.Builder extends Object
CfnLayerVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLayerVersionProps |
build()
Builds the configured instance.
|
CfnLayerVersionProps.Builder |
withCompatibleRuntimes(List<String> value)
Sets the value of CompatibleRuntimes
|
CfnLayerVersionProps.Builder |
withContentUri(String value)
Sets the value of ContentUri
|
CfnLayerVersionProps.Builder |
withDescription(String value)
Sets the value of Description
|
CfnLayerVersionProps.Builder |
withLayerName(String value)
Sets the value of LayerName
|
CfnLayerVersionProps.Builder |
withLicenseInfo(String value)
Sets the value of LicenseInfo
|
CfnLayerVersionProps.Builder |
withRetentionPolicy(String value)
Sets the value of RetentionPolicy
|
public CfnLayerVersionProps.Builder withCompatibleRuntimes(@Nullable List<String> value)
value - `AWS::Serverless::LayerVersion.CompatibleRuntimes`.thispublic CfnLayerVersionProps.Builder withContentUri(@Nullable String value)
value - `AWS::Serverless::LayerVersion.ContentUri`.thispublic CfnLayerVersionProps.Builder withDescription(@Nullable String value)
value - `AWS::Serverless::LayerVersion.Description`.thispublic CfnLayerVersionProps.Builder withLayerName(@Nullable String value)
value - `AWS::Serverless::LayerVersion.LayerName`.thispublic CfnLayerVersionProps.Builder withLicenseInfo(@Nullable String value)
value - `AWS::Serverless::LayerVersion.LicenseInfo`.thispublic CfnLayerVersionProps.Builder withRetentionPolicy(@Nullable String value)
value - `AWS::Serverless::LayerVersion.RetentionPolicy`.thispublic CfnLayerVersionProps build()
CfnLayerVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.