Class ServerlessCacheSnapshotReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.elasticache.ServerlessCacheSnapshotReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServerlessCacheSnapshotReference>
- Enclosing interface:
ServerlessCacheSnapshotReference
@Stability(Stable)
public static final class ServerlessCacheSnapshotReference.Builder
extends Object
implements software.amazon.jsii.Builder<ServerlessCacheSnapshotReference>
A builder for
ServerlessCacheSnapshotReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.serverlessCacheSnapshotArn(String serverlessCacheSnapshotArn) Sets the value ofServerlessCacheSnapshotReference.getServerlessCacheSnapshotArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serverlessCacheSnapshotArn
@Stability(Stable) public ServerlessCacheSnapshotReference.Builder serverlessCacheSnapshotArn(String serverlessCacheSnapshotArn) Sets the value ofServerlessCacheSnapshotReference.getServerlessCacheSnapshotArn()- Parameters:
serverlessCacheSnapshotArn- The ARN of the ServerlessCacheSnapshot resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServerlessCacheSnapshotReference>- Returns:
- a new instance of
ServerlessCacheSnapshotReference - Throws:
NullPointerException- if any required attribute was not provided
-