Class CreateDataContractTestRunOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String dataProductId,
                       java.lang.String projectId,
                       java.lang.String catalogId,
                       java.lang.String contractName,
                       java.lang.String contractYaml)
        Instantiates a new builder with required properties.
        Parameters:
        dataProductId - the dataProductId
        projectId - the projectId
        catalogId - the catalogId
        contractName - the contractName
        contractYaml - the contractYaml
    • Method Detail

      • addAssetIds

        public CreateDataContractTestRunOptions.Builder addAssetIds​(java.lang.String assetIds)
        Adds a new element to assetIds.
        Parameters:
        assetIds - the new element to be added
        Returns:
        the CreateDataContractTestRunOptions builder
      • addServerMapping

        public CreateDataContractTestRunOptions.Builder addServerMapping​(ServerMapping serverMapping)
        Adds a new element to serverMapping.
        Parameters:
        serverMapping - the new element to be added
        Returns:
        the CreateDataContractTestRunOptions builder
      • dataProductId

        public CreateDataContractTestRunOptions.Builder dataProductId​(java.lang.String dataProductId)
        Set the dataProductId.
        Parameters:
        dataProductId - the dataProductId
        Returns:
        the CreateDataContractTestRunOptions builder
      • projectId

        public CreateDataContractTestRunOptions.Builder projectId​(java.lang.String projectId)
        Set the projectId.
        Parameters:
        projectId - the projectId
        Returns:
        the CreateDataContractTestRunOptions builder
      • catalogId

        public CreateDataContractTestRunOptions.Builder catalogId​(java.lang.String catalogId)
        Set the catalogId.
        Parameters:
        catalogId - the catalogId
        Returns:
        the CreateDataContractTestRunOptions builder
      • contractName

        public CreateDataContractTestRunOptions.Builder contractName​(java.lang.String contractName)
        Set the contractName.
        Parameters:
        contractName - the contractName
        Returns:
        the CreateDataContractTestRunOptions builder
      • contractYaml

        public CreateDataContractTestRunOptions.Builder contractYaml​(java.lang.String contractYaml)
        Set the contractYaml.
        Parameters:
        contractYaml - the contractYaml
        Returns:
        the CreateDataContractTestRunOptions builder
      • assetIds

        public CreateDataContractTestRunOptions.Builder assetIds​(java.util.List<java.lang.String> assetIds)
        Set the assetIds. Existing assetIds will be replaced.
        Parameters:
        assetIds - the assetIds
        Returns:
        the CreateDataContractTestRunOptions builder
      • serverMapping

        public CreateDataContractTestRunOptions.Builder serverMapping​(java.util.List<ServerMapping> serverMapping)
        Set the serverMapping. Existing serverMapping will be replaced.
        Parameters:
        serverMapping - the serverMapping
        Returns:
        the CreateDataContractTestRunOptions builder
      • dataContractId

        public CreateDataContractTestRunOptions.Builder dataContractId​(java.lang.String dataContractId)
        Set the dataContractId.
        Parameters:
        dataContractId - the dataContractId
        Returns:
        the CreateDataContractTestRunOptions builder