com.pulumi.aws.guardduty.inputs.DetectorFeatureAdditionalConfigurationArgs 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class DetectorFeatureAdditionalConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final DetectorFeatureAdditionalConfigurationArgs Empty = new DetectorFeatureAdditionalConfigurationArgs();
/**
* The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
*
*/
public Output name() {
return this.name;
}
/**
* The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
*
*/
@Import(name="status", required=true)
private Output status;
/**
* @return The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
*
*/
public Output status() {
return this.status;
}
private DetectorFeatureAdditionalConfigurationArgs() {}
private DetectorFeatureAdditionalConfigurationArgs(DetectorFeatureAdditionalConfigurationArgs $) {
this.name = $.name;
this.status = $.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DetectorFeatureAdditionalConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DetectorFeatureAdditionalConfigurationArgs $;
public Builder() {
$ = new DetectorFeatureAdditionalConfigurationArgs();
}
public Builder(DetectorFeatureAdditionalConfigurationArgs defaults) {
$ = new DetectorFeatureAdditionalConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param status The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
*
* @return builder
*
*/
public Builder status(Output status) {
$.status = status;
return this;
}
/**
* @param status The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
*
* @return builder
*
*/
public Builder status(String status) {
return status(Output.of(status));
}
public DetectorFeatureAdditionalConfigurationArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("DetectorFeatureAdditionalConfigurationArgs", "name");
}
if ($.status == null) {
throw new MissingRequiredPropertyException("DetectorFeatureAdditionalConfigurationArgs", "status");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy