public static final class CfnModelPackage.FileSourceProperty.Builder
extends java.lang.Object
CfnModelPackage.FileSourceProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnModelPackage.FileSourceProperty |
build()
Builds the configured instance.
|
CfnModelPackage.FileSourceProperty.Builder |
contentDigest(java.lang.String contentDigest)
Sets the value of
CfnModelPackage.FileSourceProperty.getContentDigest() |
CfnModelPackage.FileSourceProperty.Builder |
contentType(java.lang.String contentType)
Sets the value of
CfnModelPackage.FileSourceProperty.getContentType() |
CfnModelPackage.FileSourceProperty.Builder |
s3Uri(java.lang.String s3Uri)
Sets the value of
CfnModelPackage.FileSourceProperty.getS3Uri() |
public CfnModelPackage.FileSourceProperty.Builder s3Uri(java.lang.String s3Uri)
CfnModelPackage.FileSourceProperty.getS3Uri()
s3Uri
- The Amazon S3 URI for the file source. This parameter is required.this
public CfnModelPackage.FileSourceProperty.Builder contentDigest(java.lang.String contentDigest)
CfnModelPackage.FileSourceProperty.getContentDigest()
contentDigest
- The digest of the file source.this
public CfnModelPackage.FileSourceProperty.Builder contentType(java.lang.String contentType)
CfnModelPackage.FileSourceProperty.getContentType()
contentType
- The type of content stored in the file source.this
public CfnModelPackage.FileSourceProperty build()
CfnModelPackage.FileSourceProperty
java.lang.NullPointerException
- if any required attribute was not provided