Modifier and Type | Class and Description |
---|---|
static class |
Versioned.Metadata.MetadataBuilder
Builder for
Versioned.Metadata objects. |
Modifier and Type | Method and Description |
---|---|
static Versioned.Metadata.MetadataBuilder |
builder()
Creates a new
Versioned.Metadata.MetadataBuilder to build Versioned.Metadata objects. |
Instant |
getCreatedAt() |
Instant |
getDeletedAt() |
Versioned.Version |
getVersion() |
boolean |
isDeleted() |
boolean |
isDestroyed() |
String |
toString() |
public static Versioned.Metadata.MetadataBuilder builder()
Versioned.Metadata.MetadataBuilder
to build Versioned.Metadata
objects.Versioned.Metadata.MetadataBuilder
to build Versioned.Metadata
objects.public boolean isDeleted()
@Nullable public Instant getDeletedAt()
Instant
at which the version was deleted. Can be
null if the version is not deleted.public Versioned.Version getVersion()
public boolean isDestroyed()
Copyright © 2016–2019 Pivotal Software, Inc.. All rights reserved.