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

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

There is a newer version: 2.78.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.CspmMonitorAwsOfferingResponseNativeCloudConnection;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class CspmMonitorAwsOfferingResponse {
    /**
     * @return The offering description.
     * 
     */
    private String description;
    /**
     * @return The native cloud connection configuration
     * 
     */
    private @Nullable CspmMonitorAwsOfferingResponseNativeCloudConnection nativeCloudConnection;
    /**
     * @return The type of the security offering.
     * Expected value is 'CspmMonitorAws'.
     * 
     */
    private String offeringType;

    private CspmMonitorAwsOfferingResponse() {}
    /**
     * @return The offering description.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The native cloud connection configuration
     * 
     */
    public Optional nativeCloudConnection() {
        return Optional.ofNullable(this.nativeCloudConnection);
    }
    /**
     * @return The type of the security offering.
     * Expected value is 'CspmMonitorAws'.
     * 
     */
    public String offeringType() {
        return this.offeringType;
    }

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

    public static Builder builder(CspmMonitorAwsOfferingResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String description;
        private @Nullable CspmMonitorAwsOfferingResponseNativeCloudConnection nativeCloudConnection;
        private String offeringType;
        public Builder() {}
        public Builder(CspmMonitorAwsOfferingResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.nativeCloudConnection = defaults.nativeCloudConnection;
    	      this.offeringType = defaults.offeringType;
        }

        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("CspmMonitorAwsOfferingResponse", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder nativeCloudConnection(@Nullable CspmMonitorAwsOfferingResponseNativeCloudConnection nativeCloudConnection) {

            this.nativeCloudConnection = nativeCloudConnection;
            return this;
        }
        @CustomType.Setter
        public Builder offeringType(String offeringType) {
            if (offeringType == null) {
              throw new MissingRequiredPropertyException("CspmMonitorAwsOfferingResponse", "offeringType");
            }
            this.offeringType = offeringType;
            return this;
        }
        public CspmMonitorAwsOfferingResponse build() {
            final var _resultValue = new CspmMonitorAwsOfferingResponse();
            _resultValue.description = description;
            _resultValue.nativeCloudConnection = nativeCloudConnection;
            _resultValue.offeringType = offeringType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy