com.pepperize.cdk.dynamodb_backup.DataPipelineRestore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk-dynamodb-backup Show documentation
Show all versions of cdk-dynamodb-backup Show documentation
Backup and restore AWS DynamoDB Table to AWS S3 Bucket with AWS Data Pipeline.
package com.pepperize.cdk.dynamodb_backup;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.106.0 (build e852934)", date = "2024-12-23T10:10:11.896Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = com.pepperize.cdk.dynamodb_backup.$Module.class, fqn = "@pepperize/cdk-dynamodb-backup.DataPipelineRestore")
public class DataPipelineRestore extends software.constructs.Construct implements software.amazon.awscdk.ITaggable {
protected DataPipelineRestore(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected DataPipelineRestore(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public DataPipelineRestore(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.pepperize.cdk.dynamodb_backup.DataPipelineRestoreProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* The instance profile of the emr cluster resources.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.iam.CfnInstanceProfile getInstanceProfile() {
return software.amazon.jsii.Kernel.get(this, "instanceProfile", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.CfnInstanceProfile.class));
}
/**
* The role used by the emr cluster resources.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.iam.IRole getResourceRole() {
return software.amazon.jsii.Kernel.get(this, "resourceRole", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.IRole.class));
}
/**
* The role used by datapipelines service.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.iam.IRole getRole() {
return software.amazon.jsii.Kernel.get(this, "role", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.IRole.class));
}
/**
* TagManager to set, remove and format tags.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.TagManager getTags() {
return software.amazon.jsii.Kernel.get(this, "tags", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.TagManager.class));
}
/**
* A fluent builder for {@link com.pepperize.cdk.dynamodb_backup.DataPipelineRestore}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
* @param scope This parameter is required.
* @param id This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static Builder create(final software.constructs.Construct scope, final java.lang.String id) {
return new Builder(scope, id);
}
private final software.constructs.Construct scope;
private final java.lang.String id;
private final com.pepperize.cdk.dynamodb_backup.DataPipelineRestoreProps.Builder props;
private Builder(final software.constructs.Construct scope, final java.lang.String id) {
this.scope = scope;
this.id = id;
this.props = new com.pepperize.cdk.dynamodb_backup.DataPipelineRestoreProps.Builder();
}
/**
* @return {@code this}
* @param dynamoDbThroughputRatio This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder dynamoDbThroughputRatio(final java.lang.Number dynamoDbThroughputRatio) {
this.props.dynamoDbThroughputRatio(dynamoDbThroughputRatio);
return this;
}
/**
* @return {@code this}
* @param logsBucket This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder logsBucket(final software.amazon.awscdk.services.s3.IBucket logsBucket) {
this.props.logsBucket(logsBucket);
return this;
}
/**
* @return {@code this}
* @param pipelineName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder pipelineName(final java.lang.String pipelineName) {
this.props.pipelineName(pipelineName);
return this;
}
/**
* @return {@code this}
* @param restoreBucket This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder restoreBucket(final software.amazon.awscdk.services.s3.IBucket restoreBucket) {
this.props.restoreBucket(restoreBucket);
return this;
}
/**
* @return {@code this}
* @param restoreFolder This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder restoreFolder(final java.lang.String restoreFolder) {
this.props.restoreFolder(restoreFolder);
return this;
}
/**
* @return {@code this}
* @param table This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder table(final software.amazon.awscdk.services.dynamodb.ITable table) {
this.props.table(table);
return this;
}
/**
* @return a newly built instance of {@link com.pepperize.cdk.dynamodb_backup.DataPipelineRestore}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public com.pepperize.cdk.dynamodb_backup.DataPipelineRestore build() {
return new com.pepperize.cdk.dynamodb_backup.DataPipelineRestore(
this.scope,
this.id,
this.props.build()
);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy