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