Class ObjectMetadataSet.Builder

  • Enclosing class:
    ObjectMetadataSet

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

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public ObjectMetadataSet build()
        Builds a ObjectMetadataSet.
        Returns:
        the new ObjectMetadataSet instance
      • addCompliance

        public ObjectMetadataSet.Builder addCompliance​(java.lang.String compliance)
        Adds a new element to compliance.
        Parameters:
        compliance - the new element to be added
        Returns:
        the ObjectMetadataSet builder
      • rcCompatible

        public ObjectMetadataSet.Builder rcCompatible​(java.lang.Boolean rcCompatible)
        Set the rcCompatible.
        Parameters:
        rcCompatible - the rcCompatible
        Returns:
        the ObjectMetadataSet builder
      • compliance

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

        public ObjectMetadataSet.Builder callbacks​(Callbacks callbacks)
        Set the callbacks.
        Parameters:
        callbacks - the callbacks
        Returns:
        the ObjectMetadataSet builder
      • originalName

        public ObjectMetadataSet.Builder originalName​(java.lang.String originalName)
        Set the originalName.
        Parameters:
        originalName - the originalName
        Returns:
        the ObjectMetadataSet builder
      • version

        @Deprecated
        public ObjectMetadataSet.Builder version​(java.lang.String version)
        Deprecated.
        this method is deprecated and may be removed in a future release
        Set the version.
        Parameters:
        version - the version
        Returns:
        the ObjectMetadataSet builder
      • other

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