Class CreateDeliveryMethodOptions.Builder

  • Enclosing class:
    CreateDeliveryMethodOptions

    public static class CreateDeliveryMethodOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String catalogId,
                       java.lang.String name,
                       java.lang.String resourceKey,
                       java.lang.String description,
                       java.lang.String status,
                       ContainerReference container)
        Instantiates a new builder with required properties.
        Parameters:
        catalogId - the catalogId
        name - the name
        resourceKey - the resourceKey
        description - the description
        status - the status
        container - the container
    • Method Detail

      • build

        public CreateDeliveryMethodOptions build()
        Builds a CreateDeliveryMethodOptions.
        Returns:
        the new CreateDeliveryMethodOptions instance
      • addSupportedAssetTypes

        public CreateDeliveryMethodOptions.Builder addSupportedAssetTypes​(java.lang.String supportedAssetTypes)
        Adds a new element to supportedAssetTypes.
        Parameters:
        supportedAssetTypes - the new element to be added
        Returns:
        the CreateDeliveryMethodOptions builder
      • addSupportedAuthMethods

        public CreateDeliveryMethodOptions.Builder addSupportedAuthMethods​(java.lang.String supportedAuthMethods)
        Adds a new element to supportedAuthMethods.
        Parameters:
        supportedAuthMethods - the new element to be added
        Returns:
        the CreateDeliveryMethodOptions builder
      • addSupportedAuthMethodsCpd

        public CreateDeliveryMethodOptions.Builder addSupportedAuthMethodsCpd​(java.lang.String supportedAuthMethodsCpd)
        Adds a new element to supportedAuthMethodsCpd.
        Parameters:
        supportedAuthMethodsCpd - the new element to be added
        Returns:
        the CreateDeliveryMethodOptions builder
      • addSupportedDataSources

        public CreateDeliveryMethodOptions.Builder addSupportedDataSources​(java.lang.String supportedDataSources)
        Adds a new element to supportedDataSources.
        Parameters:
        supportedDataSources - the new element to be added
        Returns:
        the CreateDeliveryMethodOptions builder
      • addProducerInput

        public CreateDeliveryMethodOptions.Builder addProducerInput​(java.util.Map<java.lang.String,​java.lang.Object> producerInput)
        Adds a new element to producerInput.
        Parameters:
        producerInput - the new element to be added
        Returns:
        the CreateDeliveryMethodOptions builder
      • addConsumerInput

        public CreateDeliveryMethodOptions.Builder addConsumerInput​(java.util.Map<java.lang.String,​java.lang.Object> consumerInput)
        Adds a new element to consumerInput.
        Parameters:
        consumerInput - the new element to be added
        Returns:
        the CreateDeliveryMethodOptions builder
      • addOutputFormat

        public CreateDeliveryMethodOptions.Builder addOutputFormat​(java.util.Map<java.lang.String,​java.lang.Object> outputFormat)
        Adds a new element to outputFormat.
        Parameters:
        outputFormat - the new element to be added
        Returns:
        the CreateDeliveryMethodOptions builder
      • catalogId

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

        public CreateDeliveryMethodOptions.Builder resourceKey​(java.lang.String resourceKey)
        Set the resourceKey.
        Parameters:
        resourceKey - the resourceKey
        Returns:
        the CreateDeliveryMethodOptions builder
      • description

        public CreateDeliveryMethodOptions.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the CreateDeliveryMethodOptions builder
      • status

        public CreateDeliveryMethodOptions.Builder status​(java.lang.String status)
        Set the status.
        Parameters:
        status - the status
        Returns:
        the CreateDeliveryMethodOptions builder
      • supportedAssetTypes

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

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

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

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

        public CreateDeliveryMethodOptions.Builder supportsRedelivery​(java.lang.Boolean supportsRedelivery)
        Set the supportsRedelivery.
        Parameters:
        supportsRedelivery - the supportsRedelivery
        Returns:
        the CreateDeliveryMethodOptions builder
      • isRestricted

        public CreateDeliveryMethodOptions.Builder isRestricted​(java.lang.Boolean isRestricted)
        Set the isRestricted.
        Parameters:
        isRestricted - the isRestricted
        Returns:
        the CreateDeliveryMethodOptions builder
      • supportsRetryOnFailure

        public CreateDeliveryMethodOptions.Builder supportsRetryOnFailure​(java.lang.Boolean supportsRetryOnFailure)
        Set the supportsRetryOnFailure.
        Parameters:
        supportsRetryOnFailure - the supportsRetryOnFailure
        Returns:
        the CreateDeliveryMethodOptions builder
      • supportsRevokeAccess

        public CreateDeliveryMethodOptions.Builder supportsRevokeAccess​(java.lang.Boolean supportsRevokeAccess)
        Set the supportsRevokeAccess.
        Parameters:
        supportsRevokeAccess - the supportsRevokeAccess
        Returns:
        the CreateDeliveryMethodOptions builder
      • supportsColumnSelection

        public CreateDeliveryMethodOptions.Builder supportsColumnSelection​(java.lang.Boolean supportsColumnSelection)
        Set the supportsColumnSelection.
        Parameters:
        supportsColumnSelection - the supportsColumnSelection
        Returns:
        the CreateDeliveryMethodOptions builder
      • supportsAddToProject

        public CreateDeliveryMethodOptions.Builder supportsAddToProject​(java.lang.Boolean supportsAddToProject)
        Set the supportsAddToProject.
        Parameters:
        supportsAddToProject - the supportsAddToProject
        Returns:
        the CreateDeliveryMethodOptions builder
      • producerInput

        public CreateDeliveryMethodOptions.Builder producerInput​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> producerInput)
        Set the producerInput. Existing producerInput will be replaced.
        Parameters:
        producerInput - the producerInput
        Returns:
        the CreateDeliveryMethodOptions builder
      • consumerInput

        public CreateDeliveryMethodOptions.Builder consumerInput​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> consumerInput)
        Set the consumerInput. Existing consumerInput will be replaced.
        Parameters:
        consumerInput - the consumerInput
        Returns:
        the CreateDeliveryMethodOptions builder
      • outputFormat

        public CreateDeliveryMethodOptions.Builder outputFormat​(java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> outputFormat)
        Set the outputFormat. Existing outputFormat will be replaced.
        Parameters:
        outputFormat - the outputFormat
        Returns:
        the CreateDeliveryMethodOptions builder
      • autoMarkDelivered

        public CreateDeliveryMethodOptions.Builder autoMarkDelivered​(java.lang.Boolean autoMarkDelivered)
        Set the autoMarkDelivered.
        Parameters:
        autoMarkDelivered - the autoMarkDelivered
        Returns:
        the CreateDeliveryMethodOptions builder
      • deliveryUsesFunctionalCredentials

        public CreateDeliveryMethodOptions.Builder deliveryUsesFunctionalCredentials​(java.lang.Boolean deliveryUsesFunctionalCredentials)
        Set the deliveryUsesFunctionalCredentials.
        Parameters:
        deliveryUsesFunctionalCredentials - the deliveryUsesFunctionalCredentials
        Returns:
        the CreateDeliveryMethodOptions builder
      • dataSourceProperties

        public CreateDeliveryMethodOptions.Builder dataSourceProperties​(java.util.Map<java.lang.String,​java.lang.Object> dataSourceProperties)
        Set the dataSourceProperties.
        Parameters:
        dataSourceProperties - the dataSourceProperties
        Returns:
        the CreateDeliveryMethodOptions builder
      • deliveryOutput

        public CreateDeliveryMethodOptions.Builder deliveryOutput​(java.util.Map<java.lang.String,​java.lang.Object> deliveryOutput)
        Set the deliveryOutput.
        Parameters:
        deliveryOutput - the deliveryOutput
        Returns:
        the CreateDeliveryMethodOptions builder