Class CreateGraphSnapshotResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse
-
- software.amazon.awssdk.services.neptunegraph.model.CreateGraphSnapshotResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateGraphSnapshotResponse.Builder,CreateGraphSnapshotResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateGraphSnapshotResponse extends NeptuneGraphResponse implements ToCopyableBuilder<CreateGraphSnapshotResponse.Builder,CreateGraphSnapshotResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateGraphSnapshotResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the snapshot created.static CreateGraphSnapshotResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the snapshot created.StringkmsKeyIdentifier()The ID of the KMS key used to encrypt and decrypt graph data.Stringname()The name of the snapshot created.List<SdkField<?>>sdkFields()static Class<? extends CreateGraphSnapshotResponse.Builder>serializableBuilderClass()InstantsnapshotCreateTime()The snapshot creation timeStringsourceGraphId()The Id of the Neptune Analytics graph from which the snapshot is created.SnapshotStatusstatus()The current state of the snapshot.StringstatusAsString()The current state of the snapshot.CreateGraphSnapshotResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 ID of the snapshot created.
- Returns:
- The ID of the snapshot created.
-
name
public final String name()
The name of the snapshot created.
- Returns:
- The name of the snapshot created.
-
arn
public final String arn()
The ARN of the snapshot created.
- Returns:
- The ARN of the snapshot created.
-
sourceGraphId
public final String sourceGraphId()
The Id of the Neptune Analytics graph from which the snapshot is created.
- Returns:
- The Id of the Neptune Analytics graph from which the snapshot is created.
-
snapshotCreateTime
public final Instant snapshotCreateTime()
The snapshot creation time
- Returns:
- The snapshot creation time
-
status
public final SnapshotStatus status()
The current state of the 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 current state of the snapshot.
- See Also:
SnapshotStatus
-
statusAsString
public final String statusAsString()
The current state of the 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 current state of the snapshot.
- See Also:
SnapshotStatus
-
kmsKeyIdentifier
public final String kmsKeyIdentifier()
The ID of the KMS key used to encrypt and decrypt graph data.
- Returns:
- The ID of the KMS key used to encrypt and decrypt graph data.
-
toBuilder
public CreateGraphSnapshotResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateGraphSnapshotResponse.Builder,CreateGraphSnapshotResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateGraphSnapshotResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateGraphSnapshotResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-