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

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

@CustomType
public final class GetAPICollectionResult {
    /**
     * @return Additional data regarding the API collection.
     * 
     */
    private @Nullable Map additionalData;
    /**
     * @return The display name of the Azure API Management API.
     * 
     */
    private @Nullable String displayName;
    /**
     * @return Resource Id
     * 
     */
    private String id;
    /**
     * @return Resource name
     * 
     */
    private String name;
    /**
     * @return Resource type
     * 
     */
    private String type;

    private GetAPICollectionResult() {}
    /**
     * @return Additional data regarding the API collection.
     * 
     */
    public Map additionalData() {
        return this.additionalData == null ? Map.of() : this.additionalData;
    }
    /**
     * @return The display name of the Azure API Management API.
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return Resource Id
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Resource name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Resource type
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetAPICollectionResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map additionalData;
        private @Nullable String displayName;
        private String id;
        private String name;
        private String type;
        public Builder() {}
        public Builder(GetAPICollectionResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.additionalData = defaults.additionalData;
    	      this.displayName = defaults.displayName;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder additionalData(@Nullable Map additionalData) {

            this.additionalData = additionalData;
            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("GetAPICollectionResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetAPICollectionResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetAPICollectionResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetAPICollectionResult build() {
            final var _resultValue = new GetAPICollectionResult();
            _resultValue.additionalData = additionalData;
            _resultValue.displayName = displayName;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy