Interface PubsubSchemaConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
PubsubSchemaConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.470Z") @Stability(Stable) public interface PubsubSchemaConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPubsubSchemaConfig.BuilderA builder forPubsubSchemaConfigstatic classPubsubSchemaConfig.Jsii$ProxyAn implementation forPubsubSchemaConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PubsubSchemaConfig.Builderbuilder()default StringgetDefinition()The definition of the schema.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#id PubsubSchema#id}.StringgetName()The ID to use for the schema, which will become the final component of the schema's resource name.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#project PubsubSchema#project}.default PubsubSchemaTimeoutsgetTimeouts()timeouts block.default StringgetType()The type of the schema definition Default value: "TYPE_UNSPECIFIED" Possible values: ["TYPE_UNSPECIFIED", "PROTOCOL_BUFFER", "AVRO"].
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
The ID to use for the schema, which will become the final component of the schema's resource name.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#name PubsubSchema#name}
-
getDefinition
@Stability(Stable) @Nullable default String getDefinition()
The definition of the schema.This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type. Changes to the definition commit new [schema revisions](https://cloud.google.com/pubsub/docs/commit-schema-revision). A schema can only have up to 20 revisions, so updates that fail with an error indicating that the limit has been reached require manually [deleting old revisions](https://cloud.google.com/pubsub/docs/delete-schema-revision). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#definition PubsubSchema#definition}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#id PubsubSchema#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#project PubsubSchema#project}.
-
getTimeouts
@Stability(Stable) @Nullable default PubsubSchemaTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#timeouts PubsubSchema#timeouts}
-
getType
@Stability(Stable) @Nullable default String getType()
The type of the schema definition Default value: "TYPE_UNSPECIFIED" Possible values: ["TYPE_UNSPECIFIED", "PROTOCOL_BUFFER", "AVRO"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_schema#type PubsubSchema#type}
-
builder
@Stability(Stable) static PubsubSchemaConfig.Builder builder()
- Returns:
- a
PubsubSchemaConfig.BuilderofPubsubSchemaConfig
-
-