org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotView Maven / Gradle / Ivy
Show all versions of awscdk-resources-mongodbatlas Show documentation
package org.mongodb.awscdk.resources.mongodbatlas;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:28.855Z")
@software.amazon.jsii.Jsii(module = org.mongodb.awscdk.resources.mongodbatlas.$Module.class, fqn = "awscdk-resources-mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotView")
@software.amazon.jsii.Jsii.Proxy(ApiAtlasDiskBackupShardedClusterSnapshotView.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface ApiAtlasDiskBackupShardedClusterSnapshotView extends software.amazon.jsii.JsiiSerializable {
/**
* Date and time when MongoDB Cloud took the snapshot.
*
* This parameter expresses its value in the ISO 8601 timestamp format in UTC.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getCreatedAt() {
return null;
}
/**
* Human-readable phrase or sentence that explains the purpose of the snapshot.
*
* The resource returns this parameter when "status": "onDemand"
.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getDescription() {
return null;
}
/**
* Date and time when MongoDB Cloud deletes the snapshot.
*
* This parameter expresses its value in the ISO 8601 timestamp format in UTC.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getExpiresAt() {
return null;
}
/**
* Human-readable label that identifies how often this snapshot triggers.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewFrequencyType getFrequencyType() {
return null;
}
/**
* Unique 24-hexadecimal digit string that identifies the snapshot.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getId() {
return null;
}
/**
* Unique string that identifies the Amazon Web Services (AWS) Key Management Service (KMS) Customer Master Key (CMK) used to encrypt the snapshot.
*
* The resource returns this value when "encryptionEnabled" : true
.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getMasterKeyUuid() {
return null;
}
/**
* List that includes the snapshots and the cloud provider that stores the snapshots.
*
* The resource returns this parameter when "type" : "SHARDED_CLUSTER"
.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.util.List getMembers() {
return null;
}
/**
* Version of the MongoDB host that this snapshot backs up.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getMongodVersion() {
return null;
}
/**
* List that contains unique identifiers for the policy items.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.util.List getPolicyItems() {
return null;
}
/**
* List that contains the unique identifiers of the snapshots created for the shards and config host for a sharded cluster.
*
* The resource returns this parameter when "type": "SHARDED_CLUSTER"
. These identifiers should match the ones specified in the members[n].id parameters. This allows you to map a snapshot to its shard or config host name.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.util.List getSnapshotIds() {
return null;
}
/**
* Human-readable label that identifies when this snapshot triggers.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewSnapshotType getSnapshotType() {
return null;
}
/**
* Human-readable label that indicates the stage of the backup process for this snapshot.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewStatus getStatus() {
return null;
}
/**
* Number of bytes taken to store the backup snapshot.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable java.lang.String getStorageSizeBytes() {
return null;
}
/**
* Human-readable label that categorizes the cluster as a replica set or sharded cluster.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewType getType() {
return null;
}
/**
* @return a {@link Builder} of {@link ApiAtlasDiskBackupShardedClusterSnapshotView}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link ApiAtlasDiskBackupShardedClusterSnapshotView}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.String createdAt;
java.lang.String description;
java.lang.String expiresAt;
org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewFrequencyType frequencyType;
java.lang.String id;
java.lang.String masterKeyUuid;
java.util.List members;
java.lang.String mongodVersion;
java.util.List policyItems;
java.util.List snapshotIds;
org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewSnapshotType snapshotType;
org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewStatus status;
java.lang.String storageSizeBytes;
org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewType type;
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getCreatedAt}
* @param createdAt Date and time when MongoDB Cloud took the snapshot.
* This parameter expresses its value in the ISO 8601 timestamp format in UTC.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder createdAt(java.lang.String createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getDescription}
* @param description Human-readable phrase or sentence that explains the purpose of the snapshot.
* The resource returns this parameter when "status": "onDemand"
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder description(java.lang.String description) {
this.description = description;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getExpiresAt}
* @param expiresAt Date and time when MongoDB Cloud deletes the snapshot.
* This parameter expresses its value in the ISO 8601 timestamp format in UTC.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder expiresAt(java.lang.String expiresAt) {
this.expiresAt = expiresAt;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getFrequencyType}
* @param frequencyType Human-readable label that identifies how often this snapshot triggers.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder frequencyType(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewFrequencyType frequencyType) {
this.frequencyType = frequencyType;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getId}
* @param id Unique 24-hexadecimal digit string that identifies the snapshot.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder id(java.lang.String id) {
this.id = id;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getMasterKeyUuid}
* @param masterKeyUuid Unique string that identifies the Amazon Web Services (AWS) Key Management Service (KMS) Customer Master Key (CMK) used to encrypt the snapshot.
* The resource returns this value when "encryptionEnabled" : true
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder masterKeyUuid(java.lang.String masterKeyUuid) {
this.masterKeyUuid = masterKeyUuid;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getMembers}
* @param members List that includes the snapshots and the cloud provider that stores the snapshots.
* The resource returns this parameter when "type" : "SHARDED_CLUSTER"
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@SuppressWarnings("unchecked")
public Builder members(java.util.List extends org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotMemberView> members) {
this.members = (java.util.List)members;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getMongodVersion}
* @param mongodVersion Version of the MongoDB host that this snapshot backs up.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder mongodVersion(java.lang.String mongodVersion) {
this.mongodVersion = mongodVersion;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getPolicyItems}
* @param policyItems List that contains unique identifiers for the policy items.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder policyItems(java.util.List policyItems) {
this.policyItems = policyItems;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getSnapshotIds}
* @param snapshotIds List that contains the unique identifiers of the snapshots created for the shards and config host for a sharded cluster.
* The resource returns this parameter when "type": "SHARDED_CLUSTER"
. These identifiers should match the ones specified in the members[n].id parameters. This allows you to map a snapshot to its shard or config host name.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder snapshotIds(java.util.List snapshotIds) {
this.snapshotIds = snapshotIds;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getSnapshotType}
* @param snapshotType Human-readable label that identifies when this snapshot triggers.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder snapshotType(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewSnapshotType snapshotType) {
this.snapshotType = snapshotType;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getStatus}
* @param status Human-readable label that indicates the stage of the backup process for this snapshot.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder status(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewStatus status) {
this.status = status;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getStorageSizeBytes}
* @param storageSizeBytes Number of bytes taken to store the backup snapshot.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder storageSizeBytes(java.lang.String storageSizeBytes) {
this.storageSizeBytes = storageSizeBytes;
return this;
}
/**
* Sets the value of {@link ApiAtlasDiskBackupShardedClusterSnapshotView#getType}
* @param type Human-readable label that categorizes the cluster as a replica set or sharded cluster.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder type(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewType type) {
this.type = type;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link ApiAtlasDiskBackupShardedClusterSnapshotView}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public ApiAtlasDiskBackupShardedClusterSnapshotView build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link ApiAtlasDiskBackupShardedClusterSnapshotView}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApiAtlasDiskBackupShardedClusterSnapshotView {
private final java.lang.String createdAt;
private final java.lang.String description;
private final java.lang.String expiresAt;
private final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewFrequencyType frequencyType;
private final java.lang.String id;
private final java.lang.String masterKeyUuid;
private final java.util.List members;
private final java.lang.String mongodVersion;
private final java.util.List policyItems;
private final java.util.List snapshotIds;
private final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewSnapshotType snapshotType;
private final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewStatus status;
private final java.lang.String storageSizeBytes;
private final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewType type;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.createdAt = software.amazon.jsii.Kernel.get(this, "createdAt", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.description = software.amazon.jsii.Kernel.get(this, "description", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.expiresAt = software.amazon.jsii.Kernel.get(this, "expiresAt", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.frequencyType = software.amazon.jsii.Kernel.get(this, "frequencyType", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewFrequencyType.class));
this.id = software.amazon.jsii.Kernel.get(this, "id", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.masterKeyUuid = software.amazon.jsii.Kernel.get(this, "masterKeyUuid", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.members = software.amazon.jsii.Kernel.get(this, "members", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotMemberView.class)));
this.mongodVersion = software.amazon.jsii.Kernel.get(this, "mongodVersion", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.policyItems = software.amazon.jsii.Kernel.get(this, "policyItems", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.snapshotIds = software.amazon.jsii.Kernel.get(this, "snapshotIds", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.snapshotType = software.amazon.jsii.Kernel.get(this, "snapshotType", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewSnapshotType.class));
this.status = software.amazon.jsii.Kernel.get(this, "status", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewStatus.class));
this.storageSizeBytes = software.amazon.jsii.Kernel.get(this, "storageSizeBytes", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.type = software.amazon.jsii.Kernel.get(this, "type", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewType.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
@SuppressWarnings("unchecked")
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.createdAt = builder.createdAt;
this.description = builder.description;
this.expiresAt = builder.expiresAt;
this.frequencyType = builder.frequencyType;
this.id = builder.id;
this.masterKeyUuid = builder.masterKeyUuid;
this.members = (java.util.List)builder.members;
this.mongodVersion = builder.mongodVersion;
this.policyItems = builder.policyItems;
this.snapshotIds = builder.snapshotIds;
this.snapshotType = builder.snapshotType;
this.status = builder.status;
this.storageSizeBytes = builder.storageSizeBytes;
this.type = builder.type;
}
@Override
public final java.lang.String getCreatedAt() {
return this.createdAt;
}
@Override
public final java.lang.String getDescription() {
return this.description;
}
@Override
public final java.lang.String getExpiresAt() {
return this.expiresAt;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewFrequencyType getFrequencyType() {
return this.frequencyType;
}
@Override
public final java.lang.String getId() {
return this.id;
}
@Override
public final java.lang.String getMasterKeyUuid() {
return this.masterKeyUuid;
}
@Override
public final java.util.List getMembers() {
return this.members;
}
@Override
public final java.lang.String getMongodVersion() {
return this.mongodVersion;
}
@Override
public final java.util.List getPolicyItems() {
return this.policyItems;
}
@Override
public final java.util.List getSnapshotIds() {
return this.snapshotIds;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewSnapshotType getSnapshotType() {
return this.snapshotType;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewStatus getStatus() {
return this.status;
}
@Override
public final java.lang.String getStorageSizeBytes() {
return this.storageSizeBytes;
}
@Override
public final org.mongodb.awscdk.resources.mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotViewType getType() {
return this.type;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
if (this.getCreatedAt() != null) {
data.set("createdAt", om.valueToTree(this.getCreatedAt()));
}
if (this.getDescription() != null) {
data.set("description", om.valueToTree(this.getDescription()));
}
if (this.getExpiresAt() != null) {
data.set("expiresAt", om.valueToTree(this.getExpiresAt()));
}
if (this.getFrequencyType() != null) {
data.set("frequencyType", om.valueToTree(this.getFrequencyType()));
}
if (this.getId() != null) {
data.set("id", om.valueToTree(this.getId()));
}
if (this.getMasterKeyUuid() != null) {
data.set("masterKeyUuid", om.valueToTree(this.getMasterKeyUuid()));
}
if (this.getMembers() != null) {
data.set("members", om.valueToTree(this.getMembers()));
}
if (this.getMongodVersion() != null) {
data.set("mongodVersion", om.valueToTree(this.getMongodVersion()));
}
if (this.getPolicyItems() != null) {
data.set("policyItems", om.valueToTree(this.getPolicyItems()));
}
if (this.getSnapshotIds() != null) {
data.set("snapshotIds", om.valueToTree(this.getSnapshotIds()));
}
if (this.getSnapshotType() != null) {
data.set("snapshotType", om.valueToTree(this.getSnapshotType()));
}
if (this.getStatus() != null) {
data.set("status", om.valueToTree(this.getStatus()));
}
if (this.getStorageSizeBytes() != null) {
data.set("storageSizeBytes", om.valueToTree(this.getStorageSizeBytes()));
}
if (this.getType() != null) {
data.set("type", om.valueToTree(this.getType()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("awscdk-resources-mongodbatlas.ApiAtlasDiskBackupShardedClusterSnapshotView"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ApiAtlasDiskBackupShardedClusterSnapshotView.Jsii$Proxy that = (ApiAtlasDiskBackupShardedClusterSnapshotView.Jsii$Proxy) o;
if (this.createdAt != null ? !this.createdAt.equals(that.createdAt) : that.createdAt != null) return false;
if (this.description != null ? !this.description.equals(that.description) : that.description != null) return false;
if (this.expiresAt != null ? !this.expiresAt.equals(that.expiresAt) : that.expiresAt != null) return false;
if (this.frequencyType != null ? !this.frequencyType.equals(that.frequencyType) : that.frequencyType != null) return false;
if (this.id != null ? !this.id.equals(that.id) : that.id != null) return false;
if (this.masterKeyUuid != null ? !this.masterKeyUuid.equals(that.masterKeyUuid) : that.masterKeyUuid != null) return false;
if (this.members != null ? !this.members.equals(that.members) : that.members != null) return false;
if (this.mongodVersion != null ? !this.mongodVersion.equals(that.mongodVersion) : that.mongodVersion != null) return false;
if (this.policyItems != null ? !this.policyItems.equals(that.policyItems) : that.policyItems != null) return false;
if (this.snapshotIds != null ? !this.snapshotIds.equals(that.snapshotIds) : that.snapshotIds != null) return false;
if (this.snapshotType != null ? !this.snapshotType.equals(that.snapshotType) : that.snapshotType != null) return false;
if (this.status != null ? !this.status.equals(that.status) : that.status != null) return false;
if (this.storageSizeBytes != null ? !this.storageSizeBytes.equals(that.storageSizeBytes) : that.storageSizeBytes != null) return false;
return this.type != null ? this.type.equals(that.type) : that.type == null;
}
@Override
public final int hashCode() {
int result = this.createdAt != null ? this.createdAt.hashCode() : 0;
result = 31 * result + (this.description != null ? this.description.hashCode() : 0);
result = 31 * result + (this.expiresAt != null ? this.expiresAt.hashCode() : 0);
result = 31 * result + (this.frequencyType != null ? this.frequencyType.hashCode() : 0);
result = 31 * result + (this.id != null ? this.id.hashCode() : 0);
result = 31 * result + (this.masterKeyUuid != null ? this.masterKeyUuid.hashCode() : 0);
result = 31 * result + (this.members != null ? this.members.hashCode() : 0);
result = 31 * result + (this.mongodVersion != null ? this.mongodVersion.hashCode() : 0);
result = 31 * result + (this.policyItems != null ? this.policyItems.hashCode() : 0);
result = 31 * result + (this.snapshotIds != null ? this.snapshotIds.hashCode() : 0);
result = 31 * result + (this.snapshotType != null ? this.snapshotType.hashCode() : 0);
result = 31 * result + (this.status != null ? this.status.hashCode() : 0);
result = 31 * result + (this.storageSizeBytes != null ? this.storageSizeBytes.hashCode() : 0);
result = 31 * result + (this.type != null ? this.type.hashCode() : 0);
return result;
}
}
}