
com.pulumi.azurenative.security.outputs.DefenderCspmAwsOfferingResponseConfiguration 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.security.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DefenderCspmAwsOfferingResponseConfiguration {
/**
* @return The cloud role ARN in AWS for this feature
*
*/
private @Nullable String cloudRoleArn;
/**
* @return VM tags that indicates that VM should not be scanned
*
*/
private @Nullable Map exclusionTags;
/**
* @return The scanning mode for the VM scan.
*
*/
private @Nullable String scanningMode;
private DefenderCspmAwsOfferingResponseConfiguration() {}
/**
* @return The cloud role ARN in AWS for this feature
*
*/
public Optional cloudRoleArn() {
return Optional.ofNullable(this.cloudRoleArn);
}
/**
* @return VM tags that indicates that VM should not be scanned
*
*/
public Map exclusionTags() {
return this.exclusionTags == null ? Map.of() : this.exclusionTags;
}
/**
* @return The scanning mode for the VM scan.
*
*/
public Optional scanningMode() {
return Optional.ofNullable(this.scanningMode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DefenderCspmAwsOfferingResponseConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String cloudRoleArn;
private @Nullable Map exclusionTags;
private @Nullable String scanningMode;
public Builder() {}
public Builder(DefenderCspmAwsOfferingResponseConfiguration defaults) {
Objects.requireNonNull(defaults);
this.cloudRoleArn = defaults.cloudRoleArn;
this.exclusionTags = defaults.exclusionTags;
this.scanningMode = defaults.scanningMode;
}
@CustomType.Setter
public Builder cloudRoleArn(@Nullable String cloudRoleArn) {
this.cloudRoleArn = cloudRoleArn;
return this;
}
@CustomType.Setter
public Builder exclusionTags(@Nullable Map exclusionTags) {
this.exclusionTags = exclusionTags;
return this;
}
@CustomType.Setter
public Builder scanningMode(@Nullable String scanningMode) {
this.scanningMode = scanningMode;
return this;
}
public DefenderCspmAwsOfferingResponseConfiguration build() {
final var _resultValue = new DefenderCspmAwsOfferingResponseConfiguration();
_resultValue.cloudRoleArn = cloudRoleArn;
_resultValue.exclusionTags = exclusionTags;
_resultValue.scanningMode = scanningMode;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy