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

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

// *** 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.PartialAssessmentPropertiesResponse;
import com.pulumi.azurenative.security.outputs.StandardMetadataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetSecurityStandardResult {
    /**
     * @return List of assessment keys to apply to standard scope.
     * 
     */
    private @Nullable List assessments;
    /**
     * @return List of all standard supported clouds.
     * 
     */
    private @Nullable List cloudProviders;
    /**
     * @return Description of the standard
     * 
     */
    private @Nullable String description;
    /**
     * @return Display name of the standard, equivalent to the standardId
     * 
     */
    private @Nullable String displayName;
    /**
     * @return Resource Id
     * 
     */
    private String id;
    /**
     * @return The security standard metadata.
     * 
     */
    private @Nullable StandardMetadataResponse metadata;
    /**
     * @return Resource name
     * 
     */
    private String name;
    /**
     * @return The policy set definition id associated with the standard.
     * 
     */
    private @Nullable String policySetDefinitionId;
    /**
     * @return Standard type (Custom or Default or Compliance only currently)
     * 
     */
    private String standardType;
    /**
     * @return Resource type
     * 
     */
    private String type;

    private GetSecurityStandardResult() {}
    /**
     * @return List of assessment keys to apply to standard scope.
     * 
     */
    public List assessments() {
        return this.assessments == null ? List.of() : this.assessments;
    }
    /**
     * @return List of all standard supported clouds.
     * 
     */
    public List cloudProviders() {
        return this.cloudProviders == null ? List.of() : this.cloudProviders;
    }
    /**
     * @return Description of the standard
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Display name of the standard, equivalent to the standardId
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return Resource Id
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The security standard metadata.
     * 
     */
    public Optional metadata() {
        return Optional.ofNullable(this.metadata);
    }
    /**
     * @return Resource name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The policy set definition id associated with the standard.
     * 
     */
    public Optional policySetDefinitionId() {
        return Optional.ofNullable(this.policySetDefinitionId);
    }
    /**
     * @return Standard type (Custom or Default or Compliance only currently)
     * 
     */
    public String standardType() {
        return this.standardType;
    }
    /**
     * @return Resource type
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetSecurityStandardResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List assessments;
        private @Nullable List cloudProviders;
        private @Nullable String description;
        private @Nullable String displayName;
        private String id;
        private @Nullable StandardMetadataResponse metadata;
        private String name;
        private @Nullable String policySetDefinitionId;
        private String standardType;
        private String type;
        public Builder() {}
        public Builder(GetSecurityStandardResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.assessments = defaults.assessments;
    	      this.cloudProviders = defaults.cloudProviders;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.id = defaults.id;
    	      this.metadata = defaults.metadata;
    	      this.name = defaults.name;
    	      this.policySetDefinitionId = defaults.policySetDefinitionId;
    	      this.standardType = defaults.standardType;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder assessments(@Nullable List assessments) {

            this.assessments = assessments;
            return this;
        }
        public Builder assessments(PartialAssessmentPropertiesResponse... assessments) {
            return assessments(List.of(assessments));
        }
        @CustomType.Setter
        public Builder cloudProviders(@Nullable List cloudProviders) {

            this.cloudProviders = cloudProviders;
            return this;
        }
        public Builder cloudProviders(String... cloudProviders) {
            return cloudProviders(List.of(cloudProviders));
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

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

            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetSecurityStandardResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder metadata(@Nullable StandardMetadataResponse metadata) {

            this.metadata = metadata;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetSecurityStandardResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder policySetDefinitionId(@Nullable String policySetDefinitionId) {

            this.policySetDefinitionId = policySetDefinitionId;
            return this;
        }
        @CustomType.Setter
        public Builder standardType(String standardType) {
            if (standardType == null) {
              throw new MissingRequiredPropertyException("GetSecurityStandardResult", "standardType");
            }
            this.standardType = standardType;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetSecurityStandardResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetSecurityStandardResult build() {
            final var _resultValue = new GetSecurityStandardResult();
            _resultValue.assessments = assessments;
            _resultValue.cloudProviders = cloudProviders;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.id = id;
            _resultValue.metadata = metadata;
            _resultValue.name = name;
            _resultValue.policySetDefinitionId = policySetDefinitionId;
            _resultValue.standardType = standardType;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy