Class TransferJobNotificationConfigArgs.Builder

    • Method Detail

      • eventTypes

        public TransferJobNotificationConfigArgs.Builder eventTypes​(@Nullable
                                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> eventTypes)
        Parameters:
        eventTypes - Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".
        Returns:
        builder
      • eventTypes

        public TransferJobNotificationConfigArgs.Builder eventTypes​(java.util.List<java.lang.String> eventTypes)
        Parameters:
        eventTypes - Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".
        Returns:
        builder
      • eventTypes

        public TransferJobNotificationConfigArgs.Builder eventTypes​(java.lang.String... eventTypes)
        Parameters:
        eventTypes - Event types for which a notification is desired. If empty, send notifications for all event types. The valid types are "TRANSFER_OPERATION_SUCCESS", "TRANSFER_OPERATION_FAILED", "TRANSFER_OPERATION_ABORTED".
        Returns:
        builder
      • payloadFormat

        public TransferJobNotificationConfigArgs.Builder payloadFormat​(com.pulumi.core.Output<java.lang.String> payloadFormat)
        Parameters:
        payloadFormat - The desired format of the notification message payloads. One of "NONE" or "JSON".
        Returns:
        builder
      • payloadFormat

        public TransferJobNotificationConfigArgs.Builder payloadFormat​(java.lang.String payloadFormat)
        Parameters:
        payloadFormat - The desired format of the notification message payloads. One of "NONE" or "JSON".
        Returns:
        builder
      • pubsubTopic

        public TransferJobNotificationConfigArgs.Builder pubsubTopic​(com.pulumi.core.Output<java.lang.String> pubsubTopic)
        Parameters:
        pubsubTopic - The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
        Returns:
        builder
      • pubsubTopic

        public TransferJobNotificationConfigArgs.Builder pubsubTopic​(java.lang.String pubsubTopic)
        Parameters:
        pubsubTopic - The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
        Returns:
        builder