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

com.pulumi.azurenative.resources.outputs.ApiProfileResponse 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.resources.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ApiProfileResponse {
    /**
     * @return The API version.
     * 
     */
    private String apiVersion;
    /**
     * @return The profile version.
     * 
     */
    private String profileVersion;

    private ApiProfileResponse() {}
    /**
     * @return The API version.
     * 
     */
    public String apiVersion() {
        return this.apiVersion;
    }
    /**
     * @return The profile version.
     * 
     */
    public String profileVersion() {
        return this.profileVersion;
    }

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

    public static Builder builder(ApiProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String apiVersion;
        private String profileVersion;
        public Builder() {}
        public Builder(ApiProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiVersion = defaults.apiVersion;
    	      this.profileVersion = defaults.profileVersion;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy