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