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

com.pulumi.azurenative.security.outputs.AzureResourceDetailsResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class AzureResourceDetailsResponse {
    /**
     * @return Azure resource Id of the assessed resource
     * 
     */
    private String id;
    /**
     * @return The platform where the assessed resource resides
     * Expected value is 'Azure'.
     * 
     */
    private String source;

    private AzureResourceDetailsResponse() {}
    /**
     * @return Azure resource Id of the assessed resource
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The platform where the assessed resource resides
     * Expected value is 'Azure'.
     * 
     */
    public String source() {
        return this.source;
    }

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

    public static Builder builder(AzureResourceDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private String source;
        public Builder() {}
        public Builder(AzureResourceDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.source = defaults.source;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("AzureResourceDetailsResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder source(String source) {
            if (source == null) {
              throw new MissingRequiredPropertyException("AzureResourceDetailsResponse", "source");
            }
            this.source = source;
            return this;
        }
        public AzureResourceDetailsResponse build() {
            final var _resultValue = new AzureResourceDetailsResponse();
            _resultValue.id = id;
            _resultValue.source = source;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy