com.pulumi.mongodbatlas.outputs.GetCloudBackupScheduleExport Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.mongodbatlas.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCloudBackupScheduleExport {
/**
* @return Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
*
*/
private String exportBucketId;
/**
* @return Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as `yearly`. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
*
*/
private String frequencyType;
private GetCloudBackupScheduleExport() {}
/**
* @return Unique identifier of the mongodbatlas.CloudBackupSnapshotExportBucket export_bucket_id value.
*
*/
public String exportBucketId() {
return this.exportBucketId;
}
/**
* @return Frequency associated with the backup policy item. For yearly policies, the frequency type is defined as `yearly`. Note that this is a read-only value and not required in plan files - its value is implied from the policy resource type.
*
*/
public String frequencyType() {
return this.frequencyType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCloudBackupScheduleExport defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String exportBucketId;
private String frequencyType;
public Builder() {}
public Builder(GetCloudBackupScheduleExport defaults) {
Objects.requireNonNull(defaults);
this.exportBucketId = defaults.exportBucketId;
this.frequencyType = defaults.frequencyType;
}
@CustomType.Setter
public Builder exportBucketId(String exportBucketId) {
if (exportBucketId == null) {
throw new MissingRequiredPropertyException("GetCloudBackupScheduleExport", "exportBucketId");
}
this.exportBucketId = exportBucketId;
return this;
}
@CustomType.Setter
public Builder frequencyType(String frequencyType) {
if (frequencyType == null) {
throw new MissingRequiredPropertyException("GetCloudBackupScheduleExport", "frequencyType");
}
this.frequencyType = frequencyType;
return this;
}
public GetCloudBackupScheduleExport build() {
final var _resultValue = new GetCloudBackupScheduleExport();
_resultValue.exportBucketId = exportBucketId;
_resultValue.frequencyType = frequencyType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy