All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.azurenative.security.outputs;

import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponseCloudWatchToKinesis;
import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessment;
import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessmentTask;
import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponseKinesisToS3;
import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponseKubernetesScubaReader;
import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponseKubernetesService;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DefenderForContainersAwsOfferingResponse {
    /**
     * @return Is audit logs pipeline auto provisioning enabled
     * 
     */
    private @Nullable Boolean autoProvisioning;
    /**
     * @return The cloudwatch to kinesis connection configuration
     * 
     */
    private @Nullable DefenderForContainersAwsOfferingResponseCloudWatchToKinesis cloudWatchToKinesis;
    /**
     * @return The container vulnerability assessment configuration
     * 
     */
    private @Nullable DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessment containerVulnerabilityAssessment;
    /**
     * @return The container vulnerability assessment task configuration
     * 
     */
    private @Nullable DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask;
    /**
     * @return The offering description.
     * 
     */
    private String description;
    /**
     * @return Enable container vulnerability assessment feature
     * 
     */
    private @Nullable Boolean enableContainerVulnerabilityAssessment;
    /**
     * @return The kinesis to s3 connection configuration
     * 
     */
    private @Nullable DefenderForContainersAwsOfferingResponseKinesisToS3 kinesisToS3;
    /**
     * @return The retention time in days of kube audit logs set on the CloudWatch log group
     * 
     */
    private @Nullable Double kubeAuditRetentionTime;
    /**
     * @return The kubernetes to scuba connection configuration
     * 
     */
    private @Nullable DefenderForContainersAwsOfferingResponseKubernetesScubaReader kubernetesScubaReader;
    /**
     * @return The kubernetes service connection configuration
     * 
     */
    private @Nullable DefenderForContainersAwsOfferingResponseKubernetesService kubernetesService;
    /**
     * @return The type of the security offering.
     * Expected value is 'DefenderForContainersAws'.
     * 
     */
    private String offeringType;
    /**
     * @return The externalId used by the data reader to prevent the confused deputy attack
     * 
     */
    private @Nullable String scubaExternalId;

    private DefenderForContainersAwsOfferingResponse() {}
    /**
     * @return Is audit logs pipeline auto provisioning enabled
     * 
     */
    public Optional autoProvisioning() {
        return Optional.ofNullable(this.autoProvisioning);
    }
    /**
     * @return The cloudwatch to kinesis connection configuration
     * 
     */
    public Optional cloudWatchToKinesis() {
        return Optional.ofNullable(this.cloudWatchToKinesis);
    }
    /**
     * @return The container vulnerability assessment configuration
     * 
     */
    public Optional containerVulnerabilityAssessment() {
        return Optional.ofNullable(this.containerVulnerabilityAssessment);
    }
    /**
     * @return The container vulnerability assessment task configuration
     * 
     */
    public Optional containerVulnerabilityAssessmentTask() {
        return Optional.ofNullable(this.containerVulnerabilityAssessmentTask);
    }
    /**
     * @return The offering description.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return Enable container vulnerability assessment feature
     * 
     */
    public Optional enableContainerVulnerabilityAssessment() {
        return Optional.ofNullable(this.enableContainerVulnerabilityAssessment);
    }
    /**
     * @return The kinesis to s3 connection configuration
     * 
     */
    public Optional kinesisToS3() {
        return Optional.ofNullable(this.kinesisToS3);
    }
    /**
     * @return The retention time in days of kube audit logs set on the CloudWatch log group
     * 
     */
    public Optional kubeAuditRetentionTime() {
        return Optional.ofNullable(this.kubeAuditRetentionTime);
    }
    /**
     * @return The kubernetes to scuba connection configuration
     * 
     */
    public Optional kubernetesScubaReader() {
        return Optional.ofNullable(this.kubernetesScubaReader);
    }
    /**
     * @return The kubernetes service connection configuration
     * 
     */
    public Optional kubernetesService() {
        return Optional.ofNullable(this.kubernetesService);
    }
    /**
     * @return The type of the security offering.
     * Expected value is 'DefenderForContainersAws'.
     * 
     */
    public String offeringType() {
        return this.offeringType;
    }
    /**
     * @return The externalId used by the data reader to prevent the confused deputy attack
     * 
     */
    public Optional scubaExternalId() {
        return Optional.ofNullable(this.scubaExternalId);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DefenderForContainersAwsOfferingResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean autoProvisioning;
        private @Nullable DefenderForContainersAwsOfferingResponseCloudWatchToKinesis cloudWatchToKinesis;
        private @Nullable DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessment containerVulnerabilityAssessment;
        private @Nullable DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask;
        private String description;
        private @Nullable Boolean enableContainerVulnerabilityAssessment;
        private @Nullable DefenderForContainersAwsOfferingResponseKinesisToS3 kinesisToS3;
        private @Nullable Double kubeAuditRetentionTime;
        private @Nullable DefenderForContainersAwsOfferingResponseKubernetesScubaReader kubernetesScubaReader;
        private @Nullable DefenderForContainersAwsOfferingResponseKubernetesService kubernetesService;
        private String offeringType;
        private @Nullable String scubaExternalId;
        public Builder() {}
        public Builder(DefenderForContainersAwsOfferingResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.autoProvisioning = defaults.autoProvisioning;
    	      this.cloudWatchToKinesis = defaults.cloudWatchToKinesis;
    	      this.containerVulnerabilityAssessment = defaults.containerVulnerabilityAssessment;
    	      this.containerVulnerabilityAssessmentTask = defaults.containerVulnerabilityAssessmentTask;
    	      this.description = defaults.description;
    	      this.enableContainerVulnerabilityAssessment = defaults.enableContainerVulnerabilityAssessment;
    	      this.kinesisToS3 = defaults.kinesisToS3;
    	      this.kubeAuditRetentionTime = defaults.kubeAuditRetentionTime;
    	      this.kubernetesScubaReader = defaults.kubernetesScubaReader;
    	      this.kubernetesService = defaults.kubernetesService;
    	      this.offeringType = defaults.offeringType;
    	      this.scubaExternalId = defaults.scubaExternalId;
        }

        @CustomType.Setter
        public Builder autoProvisioning(@Nullable Boolean autoProvisioning) {

            this.autoProvisioning = autoProvisioning;
            return this;
        }
        @CustomType.Setter
        public Builder cloudWatchToKinesis(@Nullable DefenderForContainersAwsOfferingResponseCloudWatchToKinesis cloudWatchToKinesis) {

            this.cloudWatchToKinesis = cloudWatchToKinesis;
            return this;
        }
        @CustomType.Setter
        public Builder containerVulnerabilityAssessment(@Nullable DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessment containerVulnerabilityAssessment) {

            this.containerVulnerabilityAssessment = containerVulnerabilityAssessment;
            return this;
        }
        @CustomType.Setter
        public Builder containerVulnerabilityAssessmentTask(@Nullable DefenderForContainersAwsOfferingResponseContainerVulnerabilityAssessmentTask containerVulnerabilityAssessmentTask) {

            this.containerVulnerabilityAssessmentTask = containerVulnerabilityAssessmentTask;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("DefenderForContainersAwsOfferingResponse", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder enableContainerVulnerabilityAssessment(@Nullable Boolean enableContainerVulnerabilityAssessment) {

            this.enableContainerVulnerabilityAssessment = enableContainerVulnerabilityAssessment;
            return this;
        }
        @CustomType.Setter
        public Builder kinesisToS3(@Nullable DefenderForContainersAwsOfferingResponseKinesisToS3 kinesisToS3) {

            this.kinesisToS3 = kinesisToS3;
            return this;
        }
        @CustomType.Setter
        public Builder kubeAuditRetentionTime(@Nullable Double kubeAuditRetentionTime) {

            this.kubeAuditRetentionTime = kubeAuditRetentionTime;
            return this;
        }
        @CustomType.Setter
        public Builder kubernetesScubaReader(@Nullable DefenderForContainersAwsOfferingResponseKubernetesScubaReader kubernetesScubaReader) {

            this.kubernetesScubaReader = kubernetesScubaReader;
            return this;
        }
        @CustomType.Setter
        public Builder kubernetesService(@Nullable DefenderForContainersAwsOfferingResponseKubernetesService kubernetesService) {

            this.kubernetesService = kubernetesService;
            return this;
        }
        @CustomType.Setter
        public Builder offeringType(String offeringType) {
            if (offeringType == null) {
              throw new MissingRequiredPropertyException("DefenderForContainersAwsOfferingResponse", "offeringType");
            }
            this.offeringType = offeringType;
            return this;
        }
        @CustomType.Setter
        public Builder scubaExternalId(@Nullable String scubaExternalId) {

            this.scubaExternalId = scubaExternalId;
            return this;
        }
        public DefenderForContainersAwsOfferingResponse build() {
            final var _resultValue = new DefenderForContainersAwsOfferingResponse();
            _resultValue.autoProvisioning = autoProvisioning;
            _resultValue.cloudWatchToKinesis = cloudWatchToKinesis;
            _resultValue.containerVulnerabilityAssessment = containerVulnerabilityAssessment;
            _resultValue.containerVulnerabilityAssessmentTask = containerVulnerabilityAssessmentTask;
            _resultValue.description = description;
            _resultValue.enableContainerVulnerabilityAssessment = enableContainerVulnerabilityAssessment;
            _resultValue.kinesisToS3 = kinesisToS3;
            _resultValue.kubeAuditRetentionTime = kubeAuditRetentionTime;
            _resultValue.kubernetesScubaReader = kubernetesScubaReader;
            _resultValue.kubernetesService = kubernetesService;
            _resultValue.offeringType = offeringType;
            _resultValue.scubaExternalId = scubaExternalId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy