Class CfnFpgaImageMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnFpgaImageMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFpgaImageMixinProps>
- Enclosing interface:
CfnFpgaImageMixinProps
@Stability(Stable)
public static final class CfnFpgaImageMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFpgaImageMixinProps>
A builder for
CfnFpgaImageMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnFpgaImageMixinProps.getDescription()inputStorageLocation(CfnFpgaImagePropsMixin.StorageLocationProperty inputStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getInputStorageLocation()inputStorageLocation(IResolvable inputStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getInputStorageLocation()logsStorageLocation(CfnFpgaImagePropsMixin.StorageLocationProperty logsStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getLogsStorageLocation()logsStorageLocation(IResolvable logsStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getLogsStorageLocation()Sets the value ofCfnFpgaImageMixinProps.getName()Sets the value ofCfnFpgaImageMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnFpgaImageMixinProps.getDescription()- Parameters:
description- A description for the AFI.- Returns:
this
-
inputStorageLocation
@Stability(Stable) public CfnFpgaImageMixinProps.Builder inputStorageLocation(IResolvable inputStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getInputStorageLocation()- Parameters:
inputStorageLocation- Describes a storage location in Amazon S3.- Returns:
this
-
inputStorageLocation
@Stability(Stable) public CfnFpgaImageMixinProps.Builder inputStorageLocation(CfnFpgaImagePropsMixin.StorageLocationProperty inputStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getInputStorageLocation()- Parameters:
inputStorageLocation- Describes a storage location in Amazon S3.- Returns:
this
-
logsStorageLocation
@Stability(Stable) public CfnFpgaImageMixinProps.Builder logsStorageLocation(IResolvable logsStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getLogsStorageLocation()- Parameters:
logsStorageLocation- Describes a storage location in Amazon S3.- Returns:
this
-
logsStorageLocation
@Stability(Stable) public CfnFpgaImageMixinProps.Builder logsStorageLocation(CfnFpgaImagePropsMixin.StorageLocationProperty logsStorageLocation) Sets the value ofCfnFpgaImageMixinProps.getLogsStorageLocation()- Parameters:
logsStorageLocation- Describes a storage location in Amazon S3.- Returns:
this
-
name
Sets the value ofCfnFpgaImageMixinProps.getName()- Parameters:
name- A name for the AFI.- Returns:
this
-
tags
Sets the value ofCfnFpgaImageMixinProps.getTags()- Parameters:
tags- The tags assigned to the FPGA image.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFpgaImageMixinProps>- Returns:
- a new instance of
CfnFpgaImageMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-