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