com.pulumi.linode.outputs.ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of linode Show documentation
Show all versions of linode Show documentation
A Pulumi package for creating and managing linode cloud 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.linode.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
@CustomType
public final class ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration {
/**
* @return Specifies the number of days non-current object versions expire.
*
*/
private Integer days;
private ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration() {}
/**
* @return Specifies the number of days non-current object versions expire.
*
*/
public Integer days() {
return this.days;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer days;
public Builder() {}
public Builder(ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration defaults) {
Objects.requireNonNull(defaults);
this.days = defaults.days;
}
@CustomType.Setter
public Builder days(Integer days) {
if (days == null) {
throw new MissingRequiredPropertyException("ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration", "days");
}
this.days = days;
return this;
}
public ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration build() {
final var _resultValue = new ObjectStorageBucketLifecycleRuleNoncurrentVersionExpiration();
_resultValue.days = days;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy