
com.pulumi.azurenative.awsconnector.outputs.AnalyticsConfigurationResponse 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.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.StorageClassAnalysisResponse;
import com.pulumi.azurenative.awsconnector.outputs.TagFilterResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AnalyticsConfigurationResponse {
/**
* @return The ID that identifies the analytics configuration.
*
*/
private @Nullable String id;
/**
* @return The prefix that an object must have to be included in the analytics results.
*
*/
private @Nullable String prefix;
/**
* @return Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes. Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.
*
*/
private @Nullable StorageClassAnalysisResponse storageClassAnalysis;
/**
* @return The tags to use when evaluating an analytics filter. The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.
*
*/
private @Nullable List tagFilters;
private AnalyticsConfigurationResponse() {}
/**
* @return The ID that identifies the analytics configuration.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The prefix that an object must have to be included in the analytics results.
*
*/
public Optional prefix() {
return Optional.ofNullable(this.prefix);
}
/**
* @return Contains data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes. Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.
*
*/
public Optional storageClassAnalysis() {
return Optional.ofNullable(this.storageClassAnalysis);
}
/**
* @return The tags to use when evaluating an analytics filter. The analytics only includes objects that meet the filter's criteria. If no filter is specified, all of the contents of the bucket are included in the analysis.
*
*/
public List tagFilters() {
return this.tagFilters == null ? List.of() : this.tagFilters;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AnalyticsConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String prefix;
private @Nullable StorageClassAnalysisResponse storageClassAnalysis;
private @Nullable List tagFilters;
public Builder() {}
public Builder(AnalyticsConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.prefix = defaults.prefix;
this.storageClassAnalysis = defaults.storageClassAnalysis;
this.tagFilters = defaults.tagFilters;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder prefix(@Nullable String prefix) {
this.prefix = prefix;
return this;
}
@CustomType.Setter
public Builder storageClassAnalysis(@Nullable StorageClassAnalysisResponse storageClassAnalysis) {
this.storageClassAnalysis = storageClassAnalysis;
return this;
}
@CustomType.Setter
public Builder tagFilters(@Nullable List tagFilters) {
this.tagFilters = tagFilters;
return this;
}
public Builder tagFilters(TagFilterResponse... tagFilters) {
return tagFilters(List.of(tagFilters));
}
public AnalyticsConfigurationResponse build() {
final var _resultValue = new AnalyticsConfigurationResponse();
_resultValue.id = id;
_resultValue.prefix = prefix;
_resultValue.storageClassAnalysis = storageClassAnalysis;
_resultValue.tagFilters = tagFilters;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy