
com.pulumi.azurenative.signalrservice.outputs.ListSignalRKeysResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.signalrservice.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 ListSignalRKeysResult {
/**
* @return Connection string constructed via the primaryKey
*
*/
private @Nullable String primaryConnectionString;
/**
* @return The primary access key.
*
*/
private @Nullable String primaryKey;
/**
* @return Connection string constructed via the secondaryKey
*
*/
private @Nullable String secondaryConnectionString;
/**
* @return The secondary access key.
*
*/
private @Nullable String secondaryKey;
private ListSignalRKeysResult() {}
/**
* @return Connection string constructed via the primaryKey
*
*/
public Optional primaryConnectionString() {
return Optional.ofNullable(this.primaryConnectionString);
}
/**
* @return The primary access key.
*
*/
public Optional primaryKey() {
return Optional.ofNullable(this.primaryKey);
}
/**
* @return Connection string constructed via the secondaryKey
*
*/
public Optional secondaryConnectionString() {
return Optional.ofNullable(this.secondaryConnectionString);
}
/**
* @return The secondary access key.
*
*/
public Optional secondaryKey() {
return Optional.ofNullable(this.secondaryKey);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListSignalRKeysResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String primaryConnectionString;
private @Nullable String primaryKey;
private @Nullable String secondaryConnectionString;
private @Nullable String secondaryKey;
public Builder() {}
public Builder(ListSignalRKeysResult defaults) {
Objects.requireNonNull(defaults);
this.primaryConnectionString = defaults.primaryConnectionString;
this.primaryKey = defaults.primaryKey;
this.secondaryConnectionString = defaults.secondaryConnectionString;
this.secondaryKey = defaults.secondaryKey;
}
@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 ListSignalRKeysResult build() {
final var _resultValue = new ListSignalRKeysResult();
_resultValue.primaryConnectionString = primaryConnectionString;
_resultValue.primaryKey = primaryKey;
_resultValue.secondaryConnectionString = secondaryConnectionString;
_resultValue.secondaryKey = secondaryKey;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy