com.pulumi.alicloud.ots.SearchIndexArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.alicloud.ots;
import com.pulumi.alicloud.ots.inputs.SearchIndexSchemaArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class SearchIndexArgs extends com.pulumi.resources.ResourceArgs {
public static final SearchIndexArgs Empty = new SearchIndexArgs();
/**
* The index name of the OTS Table. If changed, a new index would be created.
*
*/
@Import(name="indexName", required=true)
private Output indexName;
/**
* @return The index name of the OTS Table. If changed, a new index would be created.
*
*/
public Output indexName() {
return this.indexName;
}
/**
* The name of the OTS instance in which table will located.
*
*/
@Import(name="instanceName", required=true)
private Output instanceName;
/**
* @return The name of the OTS instance in which table will located.
*
*/
public Output instanceName() {
return this.instanceName;
}
/**
* The schema of the search index. If changed, a new index would be created. See `schema` below.
*
*/
@Import(name="schemas", required=true)
private Output> schemas;
/**
* @return The schema of the search index. If changed, a new index would be created. See `schema` below.
*
*/
public Output> schemas() {
return this.schemas;
}
/**
* The name of the OTS table. If changed, a new table would be created.
*
*/
@Import(name="tableName", required=true)
private Output tableName;
/**
* @return The name of the OTS table. If changed, a new table would be created.
*
*/
public Output tableName() {
return this.tableName;
}
/**
* The index type of the OTS Table. Specifies the retention period of data in the search index. Unit: seconds. Default value: -1.
* If the retention period exceeds the TTL value, OTS automatically deletes expired data.
*
*/
@Import(name="timeToLive")
private @Nullable Output timeToLive;
/**
* @return The index type of the OTS Table. Specifies the retention period of data in the search index. Unit: seconds. Default value: -1.
* If the retention period exceeds the TTL value, OTS automatically deletes expired data.
*
*/
public Optional