com.pulumi.aws.accessanalyzer.outputs.AnalyzerConfigurationUnusedAccess 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.aws.accessanalyzer.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AnalyzerConfigurationUnusedAccess {
/**
* @return The specified access age in days for which to generate findings for unused access.
*
*/
private @Nullable Integer unusedAccessAge;
private AnalyzerConfigurationUnusedAccess() {}
/**
* @return The specified access age in days for which to generate findings for unused access.
*
*/
public Optional unusedAccessAge() {
return Optional.ofNullable(this.unusedAccessAge);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AnalyzerConfigurationUnusedAccess defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer unusedAccessAge;
public Builder() {}
public Builder(AnalyzerConfigurationUnusedAccess defaults) {
Objects.requireNonNull(defaults);
this.unusedAccessAge = defaults.unusedAccessAge;
}
@CustomType.Setter
public Builder unusedAccessAge(@Nullable Integer unusedAccessAge) {
this.unusedAccessAge = unusedAccessAge;
return this;
}
public AnalyzerConfigurationUnusedAccess build() {
final var _resultValue = new AnalyzerConfigurationUnusedAccess();
_resultValue.unusedAccessAge = unusedAccessAge;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy