com.pulumi.azurenative.web.outputs.AzureBlobStorageApplicationLogsConfigResponse 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.web.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzureBlobStorageApplicationLogsConfigResponse {
/**
* @return Log level.
*
*/
private @Nullable String level;
/**
* @return Retention in days.
* Remove blobs older than X days.
* 0 or lower means no retention.
*
*/
private @Nullable Integer retentionInDays;
/**
* @return SAS url to a azure blob container with read/write/list/delete permissions.
*
*/
private @Nullable String sasUrl;
private AzureBlobStorageApplicationLogsConfigResponse() {}
/**
* @return Log level.
*
*/
public Optional level() {
return Optional.ofNullable(this.level);
}
/**
* @return Retention in days.
* Remove blobs older than X days.
* 0 or lower means no retention.
*
*/
public Optional retentionInDays() {
return Optional.ofNullable(this.retentionInDays);
}
/**
* @return SAS url to a azure blob container with read/write/list/delete permissions.
*
*/
public Optional sasUrl() {
return Optional.ofNullable(this.sasUrl);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureBlobStorageApplicationLogsConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String level;
private @Nullable Integer retentionInDays;
private @Nullable String sasUrl;
public Builder() {}
public Builder(AzureBlobStorageApplicationLogsConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.level = defaults.level;
this.retentionInDays = defaults.retentionInDays;
this.sasUrl = defaults.sasUrl;
}
@CustomType.Setter
public Builder level(@Nullable String level) {
this.level = level;
return this;
}
@CustomType.Setter
public Builder retentionInDays(@Nullable Integer retentionInDays) {
this.retentionInDays = retentionInDays;
return this;
}
@CustomType.Setter
public Builder sasUrl(@Nullable String sasUrl) {
this.sasUrl = sasUrl;
return this;
}
public AzureBlobStorageApplicationLogsConfigResponse build() {
final var _resultValue = new AzureBlobStorageApplicationLogsConfigResponse();
_resultValue.level = level;
_resultValue.retentionInDays = retentionInDays;
_resultValue.sasUrl = sasUrl;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy