Class SecretManagerSecretTopics.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.secret_manager_secret.SecretManagerSecretTopics.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecretManagerSecretTopics>
- Enclosing interface:
- SecretManagerSecretTopics
@Stability(Stable) public static final class SecretManagerSecretTopics.Builder extends Object implements software.amazon.jsii.Builder<SecretManagerSecretTopics>
A builder forSecretManagerSecretTopics
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretManagerSecretTopicsbuild()Builds the configured instance.SecretManagerSecretTopics.Buildername(String name)Sets the value ofSecretManagerSecretTopics.getName()
-
-
-
Method Detail
-
name
@Stability(Stable) public SecretManagerSecretTopics.Builder name(String name)
Sets the value ofSecretManagerSecretTopics.getName()- Parameters:
name- The resource name of the Pub/Sub topic that will be published to, in the following format: projects/* /topics/*. This parameter is required. For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret#name SecretManagerSecret#name} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.- Returns:
this
-
build
@Stability(Stable) public SecretManagerSecretTopics build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecretManagerSecretTopics>- Returns:
- a new instance of
SecretManagerSecretTopics - Throws:
NullPointerException- if any required attribute was not provided
-
-