Package com.pulumi.gcp.sourcerepo.inputs
Class RepositoryPubsubConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.sourcerepo.inputs.RepositoryPubsubConfigArgs.Builder
-
- Enclosing class:
- RepositoryPubsubConfigArgs
public static final class RepositoryPubsubConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RepositoryPubsubConfigArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryPubsubConfigArgs
build()
RepositoryPubsubConfigArgs.Builder
messageFormat(com.pulumi.core.Output<java.lang.String> messageFormat)
RepositoryPubsubConfigArgs.Builder
messageFormat(java.lang.String messageFormat)
RepositoryPubsubConfigArgs.Builder
serviceAccountEmail(com.pulumi.core.Output<java.lang.String> serviceAccountEmail)
RepositoryPubsubConfigArgs.Builder
serviceAccountEmail(java.lang.String serviceAccountEmail)
RepositoryPubsubConfigArgs.Builder
topic(com.pulumi.core.Output<java.lang.String> topic)
RepositoryPubsubConfigArgs.Builder
topic(java.lang.String topic)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RepositoryPubsubConfigArgs defaults)
-
-
Method Detail
-
messageFormat
public RepositoryPubsubConfigArgs.Builder messageFormat(com.pulumi.core.Output<java.lang.String> messageFormat)
- Parameters:
messageFormat
- The format of the Cloud Pub/Sub messages. - PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent. - JSON: The message payload is a JSON string of SourceRepoEvent. Possible values are: `PROTOBUF`, `JSON`.- Returns:
- builder
-
messageFormat
public RepositoryPubsubConfigArgs.Builder messageFormat(java.lang.String messageFormat)
- Parameters:
messageFormat
- The format of the Cloud Pub/Sub messages. - PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent. - JSON: The message payload is a JSON string of SourceRepoEvent. Possible values are: `PROTOBUF`, `JSON`.- Returns:
- builder
-
serviceAccountEmail
public RepositoryPubsubConfigArgs.Builder serviceAccountEmail(@Nullable com.pulumi.core.Output<java.lang.String> serviceAccountEmail)
- Parameters:
serviceAccountEmail
- Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.- Returns:
- builder
-
serviceAccountEmail
public RepositoryPubsubConfigArgs.Builder serviceAccountEmail(java.lang.String serviceAccountEmail)
- Parameters:
serviceAccountEmail
- Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.- Returns:
- builder
-
topic
public RepositoryPubsubConfigArgs.Builder topic(com.pulumi.core.Output<java.lang.String> topic)
- Parameters:
topic
- The identifier for this object. Format specified above.- Returns:
- builder
-
topic
public RepositoryPubsubConfigArgs.Builder topic(java.lang.String topic)
- Parameters:
topic
- The identifier for this object. Format specified above.- Returns:
- builder
-
build
public RepositoryPubsubConfigArgs build()
-
-