Interface RestoreGraphFromSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RestoreGraphFromSnapshotRequest.Builder,RestoreGraphFromSnapshotRequest>,NeptuneGraphRequest.Builder,SdkBuilder<RestoreGraphFromSnapshotRequest.Builder,RestoreGraphFromSnapshotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RestoreGraphFromSnapshotRequest
public static interface RestoreGraphFromSnapshotRequest.Builder extends NeptuneGraphRequest.Builder, SdkPojo, CopyableBuilder<RestoreGraphFromSnapshotRequest.Builder,RestoreGraphFromSnapshotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestoreGraphFromSnapshotRequest.BuilderdeletionProtection(Boolean deletionProtection)A value that indicates whether the graph has deletion protection enabled.RestoreGraphFromSnapshotRequest.BuildergraphName(String graphName)A name for the new Neptune Analytics graph to be created from the snapshot.RestoreGraphFromSnapshotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RestoreGraphFromSnapshotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RestoreGraphFromSnapshotRequest.BuilderprovisionedMemory(Integer provisionedMemory)The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.RestoreGraphFromSnapshotRequest.BuilderpublicConnectivity(Boolean publicConnectivity)Specifies whether or not the graph can be reachable over the internet.RestoreGraphFromSnapshotRequest.BuilderreplicaCount(Integer replicaCount)The number of replicas in other AZs.RestoreGraphFromSnapshotRequest.BuildersnapshotIdentifier(String snapshotIdentifier)The ID of the snapshot in question.RestoreGraphFromSnapshotRequest.Buildertags(Map<String,String> tags)Adds metadata tags to the snapshot.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
snapshotIdentifier
RestoreGraphFromSnapshotRequest.Builder snapshotIdentifier(String snapshotIdentifier)
The ID of the snapshot in question.
- Parameters:
snapshotIdentifier- The ID of the snapshot in question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graphName
RestoreGraphFromSnapshotRequest.Builder graphName(String graphName)
A name for the new Neptune Analytics graph to be created from the snapshot.
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.
- Parameters:
graphName- A name for the new Neptune Analytics graph to be created from the snapshot.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:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedMemory
RestoreGraphFromSnapshotRequest.Builder provisionedMemory(Integer provisionedMemory)
The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.
Min = 128
- Parameters:
provisionedMemory- The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.Min = 128
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
RestoreGraphFromSnapshotRequest.Builder deletionProtection(Boolean deletionProtection)
A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.
- Parameters:
deletionProtection- A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RestoreGraphFromSnapshotRequest.Builder tags(Map<String,String> tags)
Adds metadata tags to the snapshot. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.
- Parameters:
tags- Adds metadata tags to the snapshot. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaCount
RestoreGraphFromSnapshotRequest.Builder replicaCount(Integer replicaCount)
The number of replicas in other AZs. Min =0, Max = 2, Default =1
Additional charges equivalent to the m-NCUs selected for the graph apply for each replica.
- Parameters:
replicaCount- The number of replicas in other AZs. Min =0, Max = 2, Default =1Additional charges equivalent to the m-NCUs selected for the graph apply for each replica.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicConnectivity
RestoreGraphFromSnapshotRequest.Builder publicConnectivity(Boolean publicConnectivity)
Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. (
trueto enable, orfalseto disable).- Parameters:
publicConnectivity- Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. (trueto enable, orfalseto disable).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RestoreGraphFromSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RestoreGraphFromSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-