com.pulumi.azurenative.recoveryservices.outputs.SoftDeleteSettingsResponse 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.recoveryservices.outputs;
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 SoftDeleteSettingsResponse {
/**
* @return Soft delete retention period in days
*
*/
private @Nullable Integer softDeleteRetentionPeriodInDays;
private @Nullable String softDeleteState;
private SoftDeleteSettingsResponse() {}
/**
* @return Soft delete retention period in days
*
*/
public Optional softDeleteRetentionPeriodInDays() {
return Optional.ofNullable(this.softDeleteRetentionPeriodInDays);
}
public Optional softDeleteState() {
return Optional.ofNullable(this.softDeleteState);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SoftDeleteSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer softDeleteRetentionPeriodInDays;
private @Nullable String softDeleteState;
public Builder() {}
public Builder(SoftDeleteSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.softDeleteRetentionPeriodInDays = defaults.softDeleteRetentionPeriodInDays;
this.softDeleteState = defaults.softDeleteState;
}
@CustomType.Setter
public Builder softDeleteRetentionPeriodInDays(@Nullable Integer softDeleteRetentionPeriodInDays) {
this.softDeleteRetentionPeriodInDays = softDeleteRetentionPeriodInDays;
return this;
}
@CustomType.Setter
public Builder softDeleteState(@Nullable String softDeleteState) {
this.softDeleteState = softDeleteState;
return this;
}
public SoftDeleteSettingsResponse build() {
final var _resultValue = new SoftDeleteSettingsResponse();
_resultValue.softDeleteRetentionPeriodInDays = softDeleteRetentionPeriodInDays;
_resultValue.softDeleteState = softDeleteState;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy