com.pulumi.azurenative.netapp.outputs.VolumeBackupsResponse 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.netapp.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VolumeBackupsResponse {
/**
* @return Total count of backups for volume
*
*/
private @Nullable Integer backupsCount;
/**
* @return Policy enabled
*
*/
private @Nullable Boolean policyEnabled;
/**
* @return Volume name
*
*/
private @Nullable String volumeName;
private VolumeBackupsResponse() {}
/**
* @return Total count of backups for volume
*
*/
public Optional backupsCount() {
return Optional.ofNullable(this.backupsCount);
}
/**
* @return Policy enabled
*
*/
public Optional policyEnabled() {
return Optional.ofNullable(this.policyEnabled);
}
/**
* @return Volume name
*
*/
public Optional volumeName() {
return Optional.ofNullable(this.volumeName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VolumeBackupsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer backupsCount;
private @Nullable Boolean policyEnabled;
private @Nullable String volumeName;
public Builder() {}
public Builder(VolumeBackupsResponse defaults) {
Objects.requireNonNull(defaults);
this.backupsCount = defaults.backupsCount;
this.policyEnabled = defaults.policyEnabled;
this.volumeName = defaults.volumeName;
}
@CustomType.Setter
public Builder backupsCount(@Nullable Integer backupsCount) {
this.backupsCount = backupsCount;
return this;
}
@CustomType.Setter
public Builder policyEnabled(@Nullable Boolean policyEnabled) {
this.policyEnabled = policyEnabled;
return this;
}
@CustomType.Setter
public Builder volumeName(@Nullable String volumeName) {
this.volumeName = volumeName;
return this;
}
public VolumeBackupsResponse build() {
final var _resultValue = new VolumeBackupsResponse();
_resultValue.backupsCount = backupsCount;
_resultValue.policyEnabled = policyEnabled;
_resultValue.volumeName = volumeName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy