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

com.pulumi.azurenative.cache.outputs.ListRedisKeysResult 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.cache.outputs;

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

@CustomType
public final class ListRedisKeysResult {
    /**
     * @return The current primary key that clients can use to authenticate with Redis cache.
     * 
     */
    private String primaryKey;
    /**
     * @return The current secondary key that clients can use to authenticate with Redis cache.
     * 
     */
    private String secondaryKey;

    private ListRedisKeysResult() {}
    /**
     * @return The current primary key that clients can use to authenticate with Redis cache.
     * 
     */
    public String primaryKey() {
        return this.primaryKey;
    }
    /**
     * @return The current secondary key that clients can use to authenticate with Redis cache.
     * 
     */
    public String secondaryKey() {
        return this.secondaryKey;
    }

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

    public static Builder builder(ListRedisKeysResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String primaryKey;
        private String secondaryKey;
        public Builder() {}
        public Builder(ListRedisKeysResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.primaryKey = defaults.primaryKey;
    	      this.secondaryKey = defaults.secondaryKey;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy