com.pulumi.azurenative.storage.outputs.ChangeFeedResponse 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.storage.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ChangeFeedResponse {
/**
* @return Indicates whether change feed event logging is enabled for the Blob service.
*
*/
private @Nullable Boolean enabled;
/**
* @return Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
*
*/
private @Nullable Integer retentionInDays;
private ChangeFeedResponse() {}
/**
* @return Indicates whether change feed event logging is enabled for the Blob service.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
*
*/
public Optional retentionInDays() {
return Optional.ofNullable(this.retentionInDays);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ChangeFeedResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable Integer retentionInDays;
public Builder() {}
public Builder(ChangeFeedResponse defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.retentionInDays = defaults.retentionInDays;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder retentionInDays(@Nullable Integer retentionInDays) {
this.retentionInDays = retentionInDays;
return this;
}
public ChangeFeedResponse build() {
final var _resultValue = new ChangeFeedResponse();
_resultValue.enabled = enabled;
_resultValue.retentionInDays = retentionInDays;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy