StructuredPojo, ToCopyableBuilder<Snapshot.Builder,Snapshot>@Generated("software.amazon.awssdk:codegen") public class Snapshot extends Object implements StructuredPojo, ToCopyableBuilder<Snapshot.Builder,Snapshot>
Describes a directory snapshot.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
Snapshot.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static Snapshot.Builder |
builder() |
|
String |
directoryId() |
The directory identifier.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name() |
The descriptive name of the snapshot.
|
static Class<? extends Snapshot.Builder> |
serializableBuilderClass() |
|
String |
snapshotId() |
The snapshot identifier.
|
Date |
startTime() |
The date and time that the snapshot was taken.
|
String |
status() |
The snapshot status.
|
Snapshot.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The snapshot type.
|
public String directoryId()
The directory identifier.
public String snapshotId()
The snapshot identifier.
public String type()
The snapshot type.
SnapshotTypepublic String name()
The descriptive name of the snapshot.
public String status()
The snapshot status.
SnapshotStatuspublic Date startTime()
The date and time that the snapshot was taken.
public Snapshot.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Snapshot.Builder,Snapshot>public static Snapshot.Builder builder()
public static Class<? extends Snapshot.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.