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

com.pulumi.azurenative.elastic.outputs.GetOrganizationApiKeyResult 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.elastic.outputs;

import com.pulumi.azurenative.elastic.outputs.UserApiKeyResponsePropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;

@CustomType
public final class GetOrganizationApiKeyResult {
    private UserApiKeyResponsePropertiesResponse properties;

    private GetOrganizationApiKeyResult() {}
    public UserApiKeyResponsePropertiesResponse properties() {
        return this.properties;
    }

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

    public static Builder builder(GetOrganizationApiKeyResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private UserApiKeyResponsePropertiesResponse properties;
        public Builder() {}
        public Builder(GetOrganizationApiKeyResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.properties = defaults.properties;
        }

        @CustomType.Setter
        public Builder properties(UserApiKeyResponsePropertiesResponse properties) {
            if (properties == null) {
              throw new MissingRequiredPropertyException("GetOrganizationApiKeyResult", "properties");
            }
            this.properties = properties;
            return this;
        }
        public GetOrganizationApiKeyResult build() {
            final var _resultValue = new GetOrganizationApiKeyResult();
            _resultValue.properties = properties;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy