com.pulumi.azurenative.workloads.outputs.SnapshotBackupAdditionalDetailsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.workloads.outputs;
import com.pulumi.azurenative.workloads.outputs.UserAssignedManagedIdentityDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SnapshotBackupAdditionalDetailsResponse {
/**
* @return Instant RP details for the snapshot.
*
*/
private @Nullable String instantRPDetails;
/**
* @return Retention range for instant Rp in days.
*
*/
private @Nullable Integer instantRpRetentionRangeInDays;
/**
* @return User Assigned managed identity details used for snapshot policy.
*
*/
private @Nullable UserAssignedManagedIdentityDetailsResponse userAssignedManagedIdentityDetails;
private SnapshotBackupAdditionalDetailsResponse() {}
/**
* @return Instant RP details for the snapshot.
*
*/
public Optional instantRPDetails() {
return Optional.ofNullable(this.instantRPDetails);
}
/**
* @return Retention range for instant Rp in days.
*
*/
public Optional instantRpRetentionRangeInDays() {
return Optional.ofNullable(this.instantRpRetentionRangeInDays);
}
/**
* @return User Assigned managed identity details used for snapshot policy.
*
*/
public Optional userAssignedManagedIdentityDetails() {
return Optional.ofNullable(this.userAssignedManagedIdentityDetails);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SnapshotBackupAdditionalDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String instantRPDetails;
private @Nullable Integer instantRpRetentionRangeInDays;
private @Nullable UserAssignedManagedIdentityDetailsResponse userAssignedManagedIdentityDetails;
public Builder() {}
public Builder(SnapshotBackupAdditionalDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.instantRPDetails = defaults.instantRPDetails;
this.instantRpRetentionRangeInDays = defaults.instantRpRetentionRangeInDays;
this.userAssignedManagedIdentityDetails = defaults.userAssignedManagedIdentityDetails;
}
@CustomType.Setter
public Builder instantRPDetails(@Nullable String instantRPDetails) {
this.instantRPDetails = instantRPDetails;
return this;
}
@CustomType.Setter
public Builder instantRpRetentionRangeInDays(@Nullable Integer instantRpRetentionRangeInDays) {
this.instantRpRetentionRangeInDays = instantRpRetentionRangeInDays;
return this;
}
@CustomType.Setter
public Builder userAssignedManagedIdentityDetails(@Nullable UserAssignedManagedIdentityDetailsResponse userAssignedManagedIdentityDetails) {
this.userAssignedManagedIdentityDetails = userAssignedManagedIdentityDetails;
return this;
}
public SnapshotBackupAdditionalDetailsResponse build() {
final var _resultValue = new SnapshotBackupAdditionalDetailsResponse();
_resultValue.instantRPDetails = instantRPDetails;
_resultValue.instantRpRetentionRangeInDays = instantRpRetentionRangeInDays;
_resultValue.userAssignedManagedIdentityDetails = userAssignedManagedIdentityDetails;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy