com.pulumi.aws.guardduty.outputs.GetDetectorFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.guardduty.outputs;
import com.pulumi.aws.guardduty.outputs.GetDetectorFeatureAdditionalConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetDetectorFeature {
/**
* @return Additional feature configuration.
*
*/
private List additionalConfigurations;
/**
* @return The name of the detector feature.
*
*/
private String name;
/**
* @return Current status of the detector.
*
*/
private String status;
private GetDetectorFeature() {}
/**
* @return Additional feature configuration.
*
*/
public List additionalConfigurations() {
return this.additionalConfigurations;
}
/**
* @return The name of the detector feature.
*
*/
public String name() {
return this.name;
}
/**
* @return Current status of the detector.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDetectorFeature defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List additionalConfigurations;
private String name;
private String status;
public Builder() {}
public Builder(GetDetectorFeature defaults) {
Objects.requireNonNull(defaults);
this.additionalConfigurations = defaults.additionalConfigurations;
this.name = defaults.name;
this.status = defaults.status;
}
@CustomType.Setter
public Builder additionalConfigurations(List additionalConfigurations) {
if (additionalConfigurations == null) {
throw new MissingRequiredPropertyException("GetDetectorFeature", "additionalConfigurations");
}
this.additionalConfigurations = additionalConfigurations;
return this;
}
public Builder additionalConfigurations(GetDetectorFeatureAdditionalConfiguration... additionalConfigurations) {
return additionalConfigurations(List.of(additionalConfigurations));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDetectorFeature", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetDetectorFeature", "status");
}
this.status = status;
return this;
}
public GetDetectorFeature build() {
final var _resultValue = new GetDetectorFeature();
_resultValue.additionalConfigurations = additionalConfigurations;
_resultValue.name = name;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy