public abstract class GrantDTO extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GrantDTO.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_TARGET |
| Constructor and Description |
|---|
GrantDTO() |
| Modifier and Type | Method and Description |
|---|---|
static GrantDTO.Builder |
builder() |
abstract @NotNull Capability |
capability() |
abstract ZonedDateTime |
createdAt() |
abstract String |
createdBy() |
abstract Optional<ZonedDateTime> |
expiresAt() |
abstract GRN |
grantee() |
abstract String |
id() |
static GrantDTO |
of(GRN grantee,
Capability capability,
GRN target) |
abstract @NotNull GRN |
target() |
abstract GrantDTO.Builder |
toBuilder() |
abstract ZonedDateTime |
updatedAt() |
abstract String |
updatedBy() |
public static final String FIELD_TARGET
public abstract GRN grantee()
@NotNull public abstract @NotNull Capability capability()
@NotNull public abstract @NotNull GRN target()
public abstract String createdBy()
public abstract ZonedDateTime createdAt()
public abstract String updatedBy()
public abstract ZonedDateTime updatedAt()
public abstract Optional<ZonedDateTime> expiresAt()
public static GrantDTO of(GRN grantee, Capability capability, GRN target)
public static GrantDTO.Builder builder()
public abstract GrantDTO.Builder toBuilder()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.