com.pulumi.azurenative.eventhub.outputs.ListNamespaceKeysResult 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.eventhub.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ListNamespaceKeysResult {
/**
* @return Primary connection string of the alias if GEO DR is enabled
*
*/
private String aliasPrimaryConnectionString;
/**
* @return Secondary connection string of the alias if GEO DR is enabled
*
*/
private String aliasSecondaryConnectionString;
/**
* @return A string that describes the AuthorizationRule.
*
*/
private String keyName;
/**
* @return Primary connection string of the created namespace AuthorizationRule.
*
*/
private String primaryConnectionString;
/**
* @return A base64-encoded 256-bit primary key for signing and validating the SAS token.
*
*/
private String primaryKey;
/**
* @return Secondary connection string of the created namespace AuthorizationRule.
*
*/
private String secondaryConnectionString;
/**
* @return A base64-encoded 256-bit primary key for signing and validating the SAS token.
*
*/
private String secondaryKey;
private ListNamespaceKeysResult() {}
/**
* @return Primary connection string of the alias if GEO DR is enabled
*
*/
public String aliasPrimaryConnectionString() {
return this.aliasPrimaryConnectionString;
}
/**
* @return Secondary connection string of the alias if GEO DR is enabled
*
*/
public String aliasSecondaryConnectionString() {
return this.aliasSecondaryConnectionString;
}
/**
* @return A string that describes the AuthorizationRule.
*
*/
public String keyName() {
return this.keyName;
}
/**
* @return Primary connection string of the created namespace AuthorizationRule.
*
*/
public String primaryConnectionString() {
return this.primaryConnectionString;
}
/**
* @return A base64-encoded 256-bit primary key for signing and validating the SAS token.
*
*/
public String primaryKey() {
return this.primaryKey;
}
/**
* @return Secondary connection string of the created namespace AuthorizationRule.
*
*/
public String secondaryConnectionString() {
return this.secondaryConnectionString;
}
/**
* @return A base64-encoded 256-bit primary key for signing and validating the SAS token.
*
*/
public String secondaryKey() {
return this.secondaryKey;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListNamespaceKeysResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String aliasPrimaryConnectionString;
private String aliasSecondaryConnectionString;
private String keyName;
private String primaryConnectionString;
private String primaryKey;
private String secondaryConnectionString;
private String secondaryKey;
public Builder() {}
public Builder(ListNamespaceKeysResult defaults) {
Objects.requireNonNull(defaults);
this.aliasPrimaryConnectionString = defaults.aliasPrimaryConnectionString;
this.aliasSecondaryConnectionString = defaults.aliasSecondaryConnectionString;
this.keyName = defaults.keyName;
this.primaryConnectionString = defaults.primaryConnectionString;
this.primaryKey = defaults.primaryKey;
this.secondaryConnectionString = defaults.secondaryConnectionString;
this.secondaryKey = defaults.secondaryKey;
}
@CustomType.Setter
public Builder aliasPrimaryConnectionString(String aliasPrimaryConnectionString) {
if (aliasPrimaryConnectionString == null) {
throw new MissingRequiredPropertyException("ListNamespaceKeysResult", "aliasPrimaryConnectionString");
}
this.aliasPrimaryConnectionString = aliasPrimaryConnectionString;
return this;
}
@CustomType.Setter
public Builder aliasSecondaryConnectionString(String aliasSecondaryConnectionString) {
if (aliasSecondaryConnectionString == null) {
throw new MissingRequiredPropertyException("ListNamespaceKeysResult", "aliasSecondaryConnectionString");
}
this.aliasSecondaryConnectionString = aliasSecondaryConnectionString;
return this;
}
@CustomType.Setter
public Builder keyName(String keyName) {
if (keyName == null) {
throw new MissingRequiredPropertyException("ListNamespaceKeysResult", "keyName");
}
this.keyName = keyName;
return this;
}
@CustomType.Setter
public Builder primaryConnectionString(String primaryConnectionString) {
if (primaryConnectionString == null) {
throw new MissingRequiredPropertyException("ListNamespaceKeysResult", "primaryConnectionString");
}
this.primaryConnectionString = primaryConnectionString;
return this;
}
@CustomType.Setter
public Builder primaryKey(String primaryKey) {
if (primaryKey == null) {
throw new MissingRequiredPropertyException("ListNamespaceKeysResult", "primaryKey");
}
this.primaryKey = primaryKey;
return this;
}
@CustomType.Setter
public Builder secondaryConnectionString(String secondaryConnectionString) {
if (secondaryConnectionString == null) {
throw new MissingRequiredPropertyException("ListNamespaceKeysResult", "secondaryConnectionString");
}
this.secondaryConnectionString = secondaryConnectionString;
return this;
}
@CustomType.Setter
public Builder secondaryKey(String secondaryKey) {
if (secondaryKey == null) {
throw new MissingRequiredPropertyException("ListNamespaceKeysResult", "secondaryKey");
}
this.secondaryKey = secondaryKey;
return this;
}
public ListNamespaceKeysResult build() {
final var _resultValue = new ListNamespaceKeysResult();
_resultValue.aliasPrimaryConnectionString = aliasPrimaryConnectionString;
_resultValue.aliasSecondaryConnectionString = aliasSecondaryConnectionString;
_resultValue.keyName = keyName;
_resultValue.primaryConnectionString = primaryConnectionString;
_resultValue.primaryKey = primaryKey;
_resultValue.secondaryConnectionString = secondaryConnectionString;
_resultValue.secondaryKey = secondaryKey;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy