public static final class CfnRecipe.S3LocationProperty.Builder
extends java.lang.Object
CfnRecipe.S3LocationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRecipe.S3LocationProperty.Builder |
bucket(java.lang.String bucket)
Sets the value of
CfnRecipe.S3LocationProperty.getBucket() |
CfnRecipe.S3LocationProperty |
build()
Builds the configured instance.
|
CfnRecipe.S3LocationProperty.Builder |
key(java.lang.String key)
Sets the value of
CfnRecipe.S3LocationProperty.getKey() |
public CfnRecipe.S3LocationProperty.Builder bucket(java.lang.String bucket)
CfnRecipe.S3LocationProperty.getBucket()
bucket
- The Amazon S3 bucket name. This parameter is required.this
public CfnRecipe.S3LocationProperty.Builder key(java.lang.String key)
CfnRecipe.S3LocationProperty.getKey()
key
- The unique name of the object in the bucket.this
public CfnRecipe.S3LocationProperty build()
CfnRecipe.S3LocationProperty
java.lang.NullPointerException
- if any required attribute was not provided