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

com.pulumi.azurenative.security.outputs.GetSecurityConnectorResult 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.AwsEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.AzureDevOpsScopeEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorAzureDevOpsOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorGitLabOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorGithubOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderCspmAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderCspmGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderFoDatabasesAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForContainersGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDatabasesGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDevOpsAzureDevOpsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDevOpsGitLabOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDevOpsGithubOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForServersAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForServersGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.GcpProjectEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.GithubScopeEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.GitlabScopeEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.InformationProtectionAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetSecurityConnectorResult {
    /**
     * @return The security connector environment data.
     * 
     */
    private @Nullable Object environmentData;
    /**
     * @return The multi cloud resource's cloud name.
     * 
     */
    private @Nullable String environmentName;
    /**
     * @return Entity tag is used for comparing two or more entities from the same requested resource.
     * 
     */
    private @Nullable String etag;
    /**
     * @return The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).
     * 
     */
    private @Nullable String hierarchyIdentifier;
    /**
     * @return The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.
     * 
     */
    private String hierarchyIdentifierTrialEndDate;
    /**
     * @return Resource Id
     * 
     */
    private String id;
    /**
     * @return Kind of the resource
     * 
     */
    private @Nullable String kind;
    /**
     * @return Location where the resource is stored
     * 
     */
    private @Nullable String location;
    /**
     * @return Resource name
     * 
     */
    private String name;
    /**
     * @return A collection of offerings for the security connector.
     * 
     */
    private @Nullable List offerings;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return A list of key value pairs that describe the resource.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Resource type
     * 
     */
    private String type;

    private GetSecurityConnectorResult() {}
    /**
     * @return The security connector environment data.
     * 
     */
    public Optional environmentData() {
        return Optional.ofNullable(this.environmentData);
    }
    /**
     * @return The multi cloud resource's cloud name.
     * 
     */
    public Optional environmentName() {
        return Optional.ofNullable(this.environmentName);
    }
    /**
     * @return Entity tag is used for comparing two or more entities from the same requested resource.
     * 
     */
    public Optional etag() {
        return Optional.ofNullable(this.etag);
    }
    /**
     * @return The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).
     * 
     */
    public Optional hierarchyIdentifier() {
        return Optional.ofNullable(this.hierarchyIdentifier);
    }
    /**
     * @return The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.
     * 
     */
    public String hierarchyIdentifierTrialEndDate() {
        return this.hierarchyIdentifierTrialEndDate;
    }
    /**
     * @return Resource Id
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Kind of the resource
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }
    /**
     * @return Location where the resource is stored
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return Resource name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return A collection of offerings for the security connector.
     * 
     */
    public List offerings() {
        return this.offerings == null ? List.of() : this.offerings;
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return A list of key value pairs that describe the resource.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Resource type
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetSecurityConnectorResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object environmentData;
        private @Nullable String environmentName;
        private @Nullable String etag;
        private @Nullable String hierarchyIdentifier;
        private String hierarchyIdentifierTrialEndDate;
        private String id;
        private @Nullable String kind;
        private @Nullable String location;
        private String name;
        private @Nullable List offerings;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetSecurityConnectorResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.environmentData = defaults.environmentData;
    	      this.environmentName = defaults.environmentName;
    	      this.etag = defaults.etag;
    	      this.hierarchyIdentifier = defaults.hierarchyIdentifier;
    	      this.hierarchyIdentifierTrialEndDate = defaults.hierarchyIdentifierTrialEndDate;
    	      this.id = defaults.id;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.offerings = defaults.offerings;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder environmentData(@Nullable Object environmentData) {

            this.environmentData = environmentData;
            return this;
        }
        @CustomType.Setter
        public Builder environmentName(@Nullable String environmentName) {

            this.environmentName = environmentName;
            return this;
        }
        @CustomType.Setter
        public Builder etag(@Nullable String etag) {

            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder hierarchyIdentifier(@Nullable String hierarchyIdentifier) {

            this.hierarchyIdentifier = hierarchyIdentifier;
            return this;
        }
        @CustomType.Setter
        public Builder hierarchyIdentifierTrialEndDate(String hierarchyIdentifierTrialEndDate) {
            if (hierarchyIdentifierTrialEndDate == null) {
              throw new MissingRequiredPropertyException("GetSecurityConnectorResult", "hierarchyIdentifierTrialEndDate");
            }
            this.hierarchyIdentifierTrialEndDate = hierarchyIdentifierTrialEndDate;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetSecurityConnectorResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder kind(@Nullable String kind) {

            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetSecurityConnectorResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder offerings(@Nullable List offerings) {

            this.offerings = offerings;
            return this;
        }
        public Builder offerings(Object... offerings) {
            return offerings(List.of(offerings));
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetSecurityConnectorResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetSecurityConnectorResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetSecurityConnectorResult build() {
            final var _resultValue = new GetSecurityConnectorResult();
            _resultValue.environmentData = environmentData;
            _resultValue.environmentName = environmentName;
            _resultValue.etag = etag;
            _resultValue.hierarchyIdentifier = hierarchyIdentifier;
            _resultValue.hierarchyIdentifierTrialEndDate = hierarchyIdentifierTrialEndDate;
            _resultValue.id = id;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.offerings = offerings;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}