Class DatastoreIndexProperties.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.datastore_index.DatastoreIndexProperties.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatastoreIndexProperties>
- Enclosing interface:
- DatastoreIndexProperties
@Stability(Stable) public static final class DatastoreIndexProperties.Builder extends Object implements software.amazon.jsii.Builder<DatastoreIndexProperties>
A builder forDatastoreIndexProperties
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastoreIndexPropertiesbuild()Builds the configured instance.DatastoreIndexProperties.Builderdirection(String direction)Sets the value ofDatastoreIndexProperties.getDirection()DatastoreIndexProperties.Buildername(String name)Sets the value ofDatastoreIndexProperties.getName()
-
-
-
Method Detail
-
direction
@Stability(Stable) public DatastoreIndexProperties.Builder direction(String direction)
Sets the value ofDatastoreIndexProperties.getDirection()- Parameters:
direction- The direction the index should optimize for sorting. Possible values: ["ASCENDING", "DESCENDING"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastore_index#direction DatastoreIndex#direction}- Returns:
this
-
name
@Stability(Stable) public DatastoreIndexProperties.Builder name(String name)
Sets the value ofDatastoreIndexProperties.getName()- Parameters:
name- The property name to index. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/datastore_index#name DatastoreIndex#name}- Returns:
this
-
build
@Stability(Stable) public DatastoreIndexProperties build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatastoreIndexProperties>- Returns:
- a new instance of
DatastoreIndexProperties - Throws:
NullPointerException- if any required attribute was not provided
-
-