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