Class CfnFpgaImagePropsMixin.StorageLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnFpgaImagePropsMixin.StorageLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFpgaImagePropsMixin.StorageLocationProperty>
- Enclosing interface:
CfnFpgaImagePropsMixin.StorageLocationProperty
@Stability(Stable)
public static final class CfnFpgaImagePropsMixin.StorageLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFpgaImagePropsMixin.StorageLocationProperty>
A builder for
CfnFpgaImagePropsMixin.StorageLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFpgaImagePropsMixin.StorageLocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnFpgaImagePropsMixin.StorageLocationProperty.getKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnFpgaImagePropsMixin.StorageLocationProperty.Builder bucket(String bucket) Sets the value ofCfnFpgaImagePropsMixin.StorageLocationProperty.getBucket()- Parameters:
bucket- The name of the S3 bucket.- Returns:
this
-
key
Sets the value ofCfnFpgaImagePropsMixin.StorageLocationProperty.getKey()- Parameters:
key- The key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFpgaImagePropsMixin.StorageLocationProperty>- Returns:
- a new instance of
CfnFpgaImagePropsMixin.StorageLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-