com.pulumi.azurenative.compute.outputs.SoftDeletePolicyResponse 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.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SoftDeletePolicyResponse {
/**
* @return Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
*
*/
private @Nullable Boolean isSoftDeleteEnabled;
private SoftDeletePolicyResponse() {}
/**
* @return Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
*
*/
public Optional isSoftDeleteEnabled() {
return Optional.ofNullable(this.isSoftDeleteEnabled);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SoftDeletePolicyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean isSoftDeleteEnabled;
public Builder() {}
public Builder(SoftDeletePolicyResponse defaults) {
Objects.requireNonNull(defaults);
this.isSoftDeleteEnabled = defaults.isSoftDeleteEnabled;
}
@CustomType.Setter
public Builder isSoftDeleteEnabled(@Nullable Boolean isSoftDeleteEnabled) {
this.isSoftDeleteEnabled = isSoftDeleteEnabled;
return this;
}
public SoftDeletePolicyResponse build() {
final var _resultValue = new SoftDeletePolicyResponse();
_resultValue.isSoftDeleteEnabled = isSoftDeleteEnabled;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy