public static final class CfnLayerVersion.ContentProperty.Builder
extends java.lang.Object
CfnLayerVersion.ContentProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLayerVersion.ContentProperty |
build()
Builds the configured instance.
|
CfnLayerVersion.ContentProperty.Builder |
s3Bucket(java.lang.String s3Bucket)
Sets the value of
CfnLayerVersion.ContentProperty.getS3Bucket() |
CfnLayerVersion.ContentProperty.Builder |
s3Key(java.lang.String s3Key)
Sets the value of
CfnLayerVersion.ContentProperty.getS3Key() |
CfnLayerVersion.ContentProperty.Builder |
s3ObjectVersion(java.lang.String s3ObjectVersion)
Sets the value of
CfnLayerVersion.ContentProperty.getS3ObjectVersion() |
public CfnLayerVersion.ContentProperty.Builder s3Bucket(java.lang.String s3Bucket)
CfnLayerVersion.ContentProperty.getS3Bucket()
s3Bucket
- The Amazon S3 bucket of the layer archive. This parameter is required.this
public CfnLayerVersion.ContentProperty.Builder s3Key(java.lang.String s3Key)
CfnLayerVersion.ContentProperty.getS3Key()
s3Key
- The Amazon S3 key of the layer archive. This parameter is required.this
public CfnLayerVersion.ContentProperty.Builder s3ObjectVersion(java.lang.String s3ObjectVersion)
CfnLayerVersion.ContentProperty.getS3ObjectVersion()
s3ObjectVersion
- For versioned objects, the version of the layer archive object to use.this
public CfnLayerVersion.ContentProperty build()
CfnLayerVersion.ContentProperty
java.lang.NullPointerException
- if any required attribute was not provided