Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.eventhub.implementation; import com.fasterxml.jackson.annotation.JsonProperty;
Namespace/EventHub Connection String.
/** * Namespace/EventHub Connection String. */
public class AccessKeysInner {
Primary connection string of the created namespace AuthorizationRule.
/** * Primary connection string of the created namespace AuthorizationRule. */
@JsonProperty(value = "primaryConnectionString", access = JsonProperty.Access.WRITE_ONLY) private String primaryConnectionString;
Secondary connection string of the created namespace AuthorizationRule.
/** * Secondary connection string of the created namespace AuthorizationRule. */
@JsonProperty(value = "secondaryConnectionString", access = JsonProperty.Access.WRITE_ONLY) private String secondaryConnectionString;
Primary connection string of the alias if GEO DR is enabled.
/** * Primary connection string of the alias if GEO DR is enabled. */
@JsonProperty(value = "aliasPrimaryConnectionString", access = JsonProperty.Access.WRITE_ONLY) private String aliasPrimaryConnectionString;
Secondary connection string of the alias if GEO DR is enabled.
/** * Secondary connection string of the alias if GEO DR is enabled. */
@JsonProperty(value = "aliasSecondaryConnectionString", access = JsonProperty.Access.WRITE_ONLY) private String aliasSecondaryConnectionString;
A base64-encoded 256-bit primary key for signing and validating the SAS token.
/** * A base64-encoded 256-bit primary key for signing and validating the SAS * token. */
@JsonProperty(value = "primaryKey", access = JsonProperty.Access.WRITE_ONLY) private String primaryKey;
A base64-encoded 256-bit primary key for signing and validating the SAS token.
/** * A base64-encoded 256-bit primary key for signing and validating the SAS * token. */
@JsonProperty(value = "secondaryKey", access = JsonProperty.Access.WRITE_ONLY) private String secondaryKey;
A string that describes the AuthorizationRule.
/** * A string that describes the AuthorizationRule. */
@JsonProperty(value = "keyName", access = JsonProperty.Access.WRITE_ONLY) private String keyName;
Get primary connection string of the created namespace AuthorizationRule.
Returns:the primaryConnectionString value
/** * Get primary connection string of the created namespace AuthorizationRule. * * @return the primaryConnectionString value */
public String primaryConnectionString() { return this.primaryConnectionString; }
Get secondary connection string of the created namespace AuthorizationRule.
Returns:the secondaryConnectionString value
/** * Get secondary connection string of the created namespace AuthorizationRule. * * @return the secondaryConnectionString value */
public String secondaryConnectionString() { return this.secondaryConnectionString; }
Get primary connection string of the alias if GEO DR is enabled.
Returns:the aliasPrimaryConnectionString value
/** * Get primary connection string of the alias if GEO DR is enabled. * * @return the aliasPrimaryConnectionString value */
public String aliasPrimaryConnectionString() { return this.aliasPrimaryConnectionString; }
Get secondary connection string of the alias if GEO DR is enabled.
Returns:the aliasSecondaryConnectionString value
/** * Get secondary connection string of the alias if GEO DR is enabled. * * @return the aliasSecondaryConnectionString value */
public String aliasSecondaryConnectionString() { return this.aliasSecondaryConnectionString; }
Get a base64-encoded 256-bit primary key for signing and validating the SAS token.
Returns:the primaryKey value
/** * Get a base64-encoded 256-bit primary key for signing and validating the SAS token. * * @return the primaryKey value */
public String primaryKey() { return this.primaryKey; }
Get a base64-encoded 256-bit primary key for signing and validating the SAS token.
Returns:the secondaryKey value
/** * Get a base64-encoded 256-bit primary key for signing and validating the SAS token. * * @return the secondaryKey value */
public String secondaryKey() { return this.secondaryKey; }
Get a string that describes the AuthorizationRule.
Returns:the keyName value
/** * Get a string that describes the AuthorizationRule. * * @return the keyName value */
public String keyName() { return this.keyName; } }