public static final class FileAssetMetadataEntry.Builder
extends java.lang.Object
FileAssetMetadataEntry
Constructor and Description |
---|
Builder() |
public FileAssetMetadataEntry.Builder artifactHashParameter(java.lang.String artifactHashParameter)
FileAssetMetadataEntry.getArtifactHashParameter()
artifactHashParameter
- The name of the parameter where the hash of the bundled asset should be passed in. This parameter is required.this
public FileAssetMetadataEntry.Builder id(java.lang.String id)
FileAssetMetadataEntry.getId()
id
- Logical identifier for the asset. This parameter is required.this
public FileAssetMetadataEntry.Builder packaging(java.lang.String packaging)
FileAssetMetadataEntry.getPackaging()
packaging
- Requested packaging style. This parameter is required.this
public FileAssetMetadataEntry.Builder path(java.lang.String path)
FileAssetMetadataEntry.getPath()
path
- Path on disk to the asset. This parameter is required.this
public FileAssetMetadataEntry.Builder s3BucketParameter(java.lang.String s3BucketParameter)
FileAssetMetadataEntry.getS3BucketParameter()
s3BucketParameter
- Name of parameter where S3 bucket should be passed in. This parameter is required.this
public FileAssetMetadataEntry.Builder s3KeyParameter(java.lang.String s3KeyParameter)
FileAssetMetadataEntry.getS3KeyParameter()
s3KeyParameter
- Name of parameter where S3 key should be passed in. This parameter is required.this
public FileAssetMetadataEntry.Builder sourceHash(java.lang.String sourceHash)
FileAssetMetadataEntry.getSourceHash()
sourceHash
- The hash of the asset source. This parameter is required.this
public FileAssetMetadataEntry build()
FileAssetMetadataEntry
java.lang.NullPointerException
- if any required attribute was not provided