PipelineOptionsValidator (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.options

Class PipelineOptionsValidator

  • java.lang.Object
    • com.google.cloud.dataflow.sdk.options.PipelineOptionsValidator
    • Constructor Detail

      • PipelineOptionsValidator

        public PipelineOptionsValidator()
    • Method Detail

      • validate

        public static <T extends PipelineOptions> T validate(Class<T> klass,
                                                             PipelineOptions options)
        Validates that the passed PipelineOptions conforms to all the validation criteria from the passed in interface.

        Note that the interface requested must conform to the validation criteria specified on PipelineOptions.as(Class).

        Parameters:
        klass - The interface to fetch validation criteria from.
        options - The PipelineOptions to validate.
        Returns:
        The type


Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataflow
Need help? Visit our support page.