@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(java.util.Collection<? extends CreateAttachment> contents) |
static CreateAttachments |
from(CreateAttachment... contents) |
static CreateAttachments |
from(java.lang.Iterable<? extends CreateAttachment> contents) |
CreateAttachment |
getByName(java.lang.String name) |
com.google.common.collect.ImmutableList<java.lang.String> |
getNames() |
contains, equals, first, getSet, getSize, hashCode, isEmpty, isNotEmpty, iterator, stream, toString
public com.google.common.collect.ImmutableList<java.lang.String> getNames()
public CreateAttachment getByName(java.lang.String name)
public static CreateAttachments empty()
public static CreateAttachments from(CreateAttachment... contents)
public static CreateAttachments from(java.lang.Iterable<? extends CreateAttachment> contents)
public static CreateAttachments from(java.util.Collection<? extends CreateAttachment> contents)
public static CreateAttachments.Builder create()