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

com.pulumi.azurenative.web.outputs.ListWebAppHostKeysSlotResult 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.web.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ListWebAppHostKeysSlotResult {
    /**
     * @return Host level function keys.
     * 
     */
    private @Nullable Map functionKeys;
    /**
     * @return Secret key.
     * 
     */
    private @Nullable String masterKey;
    /**
     * @return System keys.
     * 
     */
    private @Nullable Map systemKeys;

    private ListWebAppHostKeysSlotResult() {}
    /**
     * @return Host level function keys.
     * 
     */
    public Map functionKeys() {
        return this.functionKeys == null ? Map.of() : this.functionKeys;
    }
    /**
     * @return Secret key.
     * 
     */
    public Optional masterKey() {
        return Optional.ofNullable(this.masterKey);
    }
    /**
     * @return System keys.
     * 
     */
    public Map systemKeys() {
        return this.systemKeys == null ? Map.of() : this.systemKeys;
    }

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

    public static Builder builder(ListWebAppHostKeysSlotResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map functionKeys;
        private @Nullable String masterKey;
        private @Nullable Map systemKeys;
        public Builder() {}
        public Builder(ListWebAppHostKeysSlotResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.functionKeys = defaults.functionKeys;
    	      this.masterKey = defaults.masterKey;
    	      this.systemKeys = defaults.systemKeys;
        }

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

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

            this.masterKey = masterKey;
            return this;
        }
        @CustomType.Setter
        public Builder systemKeys(@Nullable Map systemKeys) {

            this.systemKeys = systemKeys;
            return this;
        }
        public ListWebAppHostKeysSlotResult build() {
            final var _resultValue = new ListWebAppHostKeysSlotResult();
            _resultValue.functionKeys = functionKeys;
            _resultValue.masterKey = masterKey;
            _resultValue.systemKeys = systemKeys;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy