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