
com.pulumi.azurenative.storage.outputs.ManagementPolicyVersionResponse Maven / Gradle / Ivy
// *** 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.storage.outputs;
import com.pulumi.azurenative.storage.outputs.DateAfterCreationResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ManagementPolicyVersionResponse {
/**
* @return The function to delete the blob version
*
*/
private @Nullable DateAfterCreationResponse delete;
/**
* @return The function to tier blob version to archive storage.
*
*/
private @Nullable DateAfterCreationResponse tierToArchive;
/**
* @return The function to tier blobs to cold storage.
*
*/
private @Nullable DateAfterCreationResponse tierToCold;
/**
* @return The function to tier blob version to cool storage.
*
*/
private @Nullable DateAfterCreationResponse tierToCool;
/**
* @return The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
*
*/
private @Nullable DateAfterCreationResponse tierToHot;
private ManagementPolicyVersionResponse() {}
/**
* @return The function to delete the blob version
*
*/
public Optional delete() {
return Optional.ofNullable(this.delete);
}
/**
* @return The function to tier blob version to archive storage.
*
*/
public Optional tierToArchive() {
return Optional.ofNullable(this.tierToArchive);
}
/**
* @return The function to tier blobs to cold storage.
*
*/
public Optional tierToCold() {
return Optional.ofNullable(this.tierToCold);
}
/**
* @return The function to tier blob version to cool storage.
*
*/
public Optional tierToCool() {
return Optional.ofNullable(this.tierToCool);
}
/**
* @return The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
*
*/
public Optional tierToHot() {
return Optional.ofNullable(this.tierToHot);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagementPolicyVersionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DateAfterCreationResponse delete;
private @Nullable DateAfterCreationResponse tierToArchive;
private @Nullable DateAfterCreationResponse tierToCold;
private @Nullable DateAfterCreationResponse tierToCool;
private @Nullable DateAfterCreationResponse tierToHot;
public Builder() {}
public Builder(ManagementPolicyVersionResponse defaults) {
Objects.requireNonNull(defaults);
this.delete = defaults.delete;
this.tierToArchive = defaults.tierToArchive;
this.tierToCold = defaults.tierToCold;
this.tierToCool = defaults.tierToCool;
this.tierToHot = defaults.tierToHot;
}
@CustomType.Setter
public Builder delete(@Nullable DateAfterCreationResponse delete) {
this.delete = delete;
return this;
}
@CustomType.Setter
public Builder tierToArchive(@Nullable DateAfterCreationResponse tierToArchive) {
this.tierToArchive = tierToArchive;
return this;
}
@CustomType.Setter
public Builder tierToCold(@Nullable DateAfterCreationResponse tierToCold) {
this.tierToCold = tierToCold;
return this;
}
@CustomType.Setter
public Builder tierToCool(@Nullable DateAfterCreationResponse tierToCool) {
this.tierToCool = tierToCool;
return this;
}
@CustomType.Setter
public Builder tierToHot(@Nullable DateAfterCreationResponse tierToHot) {
this.tierToHot = tierToHot;
return this;
}
public ManagementPolicyVersionResponse build() {
final var _resultValue = new ManagementPolicyVersionResponse();
_resultValue.delete = delete;
_resultValue.tierToArchive = tierToArchive;
_resultValue.tierToCold = tierToCold;
_resultValue.tierToCool = tierToCool;
_resultValue.tierToHot = tierToHot;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy