Class GraphSnapshotSummary
- java.lang.Object
-
- software.amazon.awssdk.services.neptunegraph.model.GraphSnapshotSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GraphSnapshotSummary.Builder,GraphSnapshotSummary>
@Generated("software.amazon.awssdk:codegen") public final class GraphSnapshotSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GraphSnapshotSummary.Builder,GraphSnapshotSummary>
Details about a graph snapshot.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGraphSnapshotSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the graph snapshot.static GraphSnapshotSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the graph snapshot.StringkmsKeyIdentifier()The ID of the KMS key used to encrypt and decrypt the snapshot.Stringname()The snapshot name.List<SdkField<?>>sdkFields()static Class<? extends GraphSnapshotSummary.Builder>serializableBuilderClass()InstantsnapshotCreateTime()The time when the snapshot was created.StringsourceGraphId()The graph identifier for the graph for which a snapshot is to be created.SnapshotStatusstatus()The status of the graph snapshot.StringstatusAsString()The status of the graph snapshot.GraphSnapshotSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The unique identifier of the graph snapshot.
- Returns:
- The unique identifier of the graph snapshot.
-
name
public final String name()
The snapshot name. For example:
my-snapshot-1.The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.
- Returns:
- The snapshot name. For example:
my-snapshot-1.The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.
-
arn
public final String arn()
The ARN of the graph snapshot.
- Returns:
- The ARN of the graph snapshot.
-
sourceGraphId
public final String sourceGraphId()
The graph identifier for the graph for which a snapshot is to be created.
- Returns:
- The graph identifier for the graph for which a snapshot is to be created.
-
snapshotCreateTime
public final Instant snapshotCreateTime()
The time when the snapshot was created.
- Returns:
- The time when the snapshot was created.
-
status
public final SnapshotStatus status()
The status of the graph snapshot.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSnapshotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the graph snapshot.
- See Also:
SnapshotStatus
-
statusAsString
public final String statusAsString()
The status of the graph snapshot.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSnapshotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the graph snapshot.
- See Also:
SnapshotStatus
-
kmsKeyIdentifier
public final String kmsKeyIdentifier()
The ID of the KMS key used to encrypt and decrypt the snapshot.
- Returns:
- The ID of the KMS key used to encrypt and decrypt the snapshot.
-
toBuilder
public GraphSnapshotSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GraphSnapshotSummary.Builder,GraphSnapshotSummary>
-
builder
public static GraphSnapshotSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends GraphSnapshotSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-