Class TapePoolReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.storagegateway.TapePoolReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TapePoolReference>
- Enclosing interface:
TapePoolReference
@Stability(Stable)
public static final class TapePoolReference.Builder
extends Object
implements software.amazon.jsii.Builder<TapePoolReference>
A builder for
TapePoolReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofTapePoolReference.getPoolArn()Sets the value ofTapePoolReference.getPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
poolArn
Sets the value ofTapePoolReference.getPoolArn()- Parameters:
poolArn- The PoolARN of the TapePool resource. This parameter is required.- Returns:
this
-
poolId
Sets the value ofTapePoolReference.getPoolId()- Parameters:
poolId- The PoolId of the TapePool resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TapePoolReference>- Returns:
- a new instance of
TapePoolReference - Throws:
NullPointerException- if any required attribute was not provided
-