@Beta public final class CreateAttachments extends AbstractImmutableEntitySet<CreateAttachment>
Modifier and Type | Class and Description |
---|---|
static class |
CreateAttachments.Builder |
set
Modifier and Type | Method and Description |
---|---|
static CreateAttachments.Builder |
create() |
static CreateAttachments |
empty() |
static CreateAttachments |
from(Collection<? extends CreateAttachment> contents) |
static CreateAttachments |
from(CreateAttachment... contents) |
static CreateAttachments |
from(Iterable<? extends CreateAttachment> contents) |
CreateAttachment |
getByName(String name) |
com.google.common.collect.ImmutableList<String> |
getNames() |
contains, equals, first, getSet, getSize, hashCode, isEmpty, isNotEmpty, iterator, stream, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public com.google.common.collect.ImmutableList<String> getNames()
public CreateAttachment getByName(String name)
public static CreateAttachments empty()
public static CreateAttachments from(CreateAttachment... contents)
public static CreateAttachments from(Iterable<? extends CreateAttachment> contents)
public static CreateAttachments from(Collection<? extends CreateAttachment> contents)
public static CreateAttachments.Builder create()