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

com.pulumi.azurenative.relay.outputs.ListHybridConnectionKeysResult Maven / Gradle / Ivy

There is a newer version: 2.82.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.relay.outputs;

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

@CustomType
public final class ListHybridConnectionKeysResult {
    /**
     * @return A string that describes the authorization rule.
     * 
     */
    private @Nullable String keyName;
    /**
     * @return Primary connection string of the created namespace authorization rule.
     * 
     */
    private @Nullable String primaryConnectionString;
    /**
     * @return A base64-encoded 256-bit primary key for signing and validating the SAS token.
     * 
     */
    private @Nullable String primaryKey;
    /**
     * @return Secondary connection string of the created namespace authorization rule.
     * 
     */
    private @Nullable String secondaryConnectionString;
    /**
     * @return A base64-encoded 256-bit secondary key for signing and validating the SAS token.
     * 
     */
    private @Nullable String secondaryKey;

    private ListHybridConnectionKeysResult() {}
    /**
     * @return A string that describes the authorization rule.
     * 
     */
    public Optional keyName() {
        return Optional.ofNullable(this.keyName);
    }
    /**
     * @return Primary connection string of the created namespace authorization rule.
     * 
     */
    public Optional primaryConnectionString() {
        return Optional.ofNullable(this.primaryConnectionString);
    }
    /**
     * @return A base64-encoded 256-bit primary key for signing and validating the SAS token.
     * 
     */
    public Optional primaryKey() {
        return Optional.ofNullable(this.primaryKey);
    }
    /**
     * @return Secondary connection string of the created namespace authorization rule.
     * 
     */
    public Optional secondaryConnectionString() {
        return Optional.ofNullable(this.secondaryConnectionString);
    }
    /**
     * @return A base64-encoded 256-bit secondary key for signing and validating the SAS token.
     * 
     */
    public Optional secondaryKey() {
        return Optional.ofNullable(this.secondaryKey);
    }

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

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

        @CustomType.Setter
        public Builder keyName(@Nullable String keyName) {

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

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

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

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

            this.secondaryKey = secondaryKey;
            return this;
        }
        public ListHybridConnectionKeysResult build() {
            final var _resultValue = new ListHybridConnectionKeysResult();
            _resultValue.keyName = keyName;
            _resultValue.primaryConnectionString = primaryConnectionString;
            _resultValue.primaryKey = primaryKey;
            _resultValue.secondaryConnectionString = secondaryConnectionString;
            _resultValue.secondaryKey = secondaryKey;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy