Class UpdateTemplateVersionOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String templateId,
                       java.lang.String versionNum,
                       java.lang.String ifMatch)
        Instantiates a new builder with required properties.
        Parameters:
        templateId - the templateId
        versionNum - the versionNum
        ifMatch - the ifMatch
    • Method Detail

      • build

        public UpdateTemplateVersionOptions build()
        Builds a UpdateTemplateVersionOptions.
        Returns:
        the new UpdateTemplateVersionOptions instance
      • addPolicyTemplateReferences

        public UpdateTemplateVersionOptions.Builder addPolicyTemplateReferences​(PolicyTemplates policyTemplateReferences)
        Adds an policyTemplateReferences to policyTemplateReferences.
        Parameters:
        policyTemplateReferences - the new policyTemplateReferences
        Returns:
        the UpdateTemplateVersionOptions builder
      • templateId

        public UpdateTemplateVersionOptions.Builder templateId​(java.lang.String templateId)
        Set the templateId.
        Parameters:
        templateId - the templateId
        Returns:
        the UpdateTemplateVersionOptions builder
      • versionNum

        public UpdateTemplateVersionOptions.Builder versionNum​(java.lang.String versionNum)
        Set the versionNum.
        Parameters:
        versionNum - the versionNum
        Returns:
        the UpdateTemplateVersionOptions builder
      • ifMatch

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

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

        public UpdateTemplateVersionOptions.Builder policyTemplateReferences​(java.util.List<PolicyTemplates> policyTemplateReferences)
        Set the policyTemplateReferences. Existing policyTemplateReferences will be replaced.
        Parameters:
        policyTemplateReferences - the policyTemplateReferences
        Returns:
        the UpdateTemplateVersionOptions builder
      • transactionId

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