Package org.graylog2.contentpacks.model
Class ContentPackV1.Builder
java.lang.Object
org.graylog2.contentpacks.model.ContentPackV1.Builder
- All Implemented Interfaces:
ContentPack.ContentPackBuilder<ContentPackV1.Builder>,Identified.IdBuilder<ContentPackV1.Builder>,Revisioned.RevisionBuilder<ContentPackV1.Builder>,Versioned.VersionBuilder<ContentPackV1.Builder>
- Enclosing class:
- ContentPackV1
public abstract static class ContentPackV1.Builder
extends Object
implements ContentPack.ContentPackBuilder<ContentPackV1.Builder>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ContentPackV1.Builder_id(org.bson.types.ObjectId _id) build()static ContentPackV1.Buildercreate()abstract ContentPackV1.BuildercreatedAt(org.joda.time.DateTime createdAt) abstract ContentPackV1.Builderdescription(String description) abstract ContentPackV1.Builderabstract ContentPackV1.Builderabstract ContentPackV1.Builderparameters(com.google.common.collect.ImmutableSet<Parameter> parameters) abstract ContentPackV1.BuilderserverVersion(com.github.zafarkhaja.semver.Version serverVersion) abstract ContentPackV1.Builderabstract ContentPackV1.Builderabstract ContentPackV1.BuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.contentpacks.model.Identified.IdBuilder
id, idMethods inherited from interface org.graylog2.contentpacks.model.Revisioned.RevisionBuilder
revisionMethods inherited from interface org.graylog2.contentpacks.model.Versioned.VersionBuilder
version
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
create
-
_id
-
name
-
summary
-
description
-
vendor
-
url
-
createdAt
-
serverVersion
public abstract ContentPackV1.Builder serverVersion(com.github.zafarkhaja.semver.Version serverVersion) -
parameters
public abstract ContentPackV1.Builder parameters(com.google.common.collect.ImmutableSet<Parameter> parameters) -
entities
public abstract ContentPackV1.Builder entities(com.google.common.collect.ImmutableSet<Entity> entities) -
build
-