SBNamespaceInner Class

public final class SBNamespaceInner
extends Resource

Description of a namespace resource.

Constructor Summary

Constructor Description
SBNamespaceInner()

Creates an instance of SBNamespaceInner class.

Method Summary

Modifier and Type Method and Description
String alternateName()

Get the alternateName property: Alternate name for namespace.

OffsetDateTime createdAt()

Get the createdAt property: The time the namespace was created.

Boolean disableLocalAuth()

Get the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.

Encryption encryption()

Get the encryption property: Properties of BYOK Encryption description.

static SBNamespaceInner fromJson(JsonReader jsonReader)

Reads an instance of SBNamespaceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Identity identity()

Get the identity property: Properties of BYOK Identity description.

String metricId()

Get the metricId property: Identifier for Azure Insights metrics.

String name()

Get the name property: The name of the resource.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections.

String provisioningState()

Get the provisioningState property: Provisioning state of the namespace.

String serviceBusEndpoint()

Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.

SBSku sku()

Get the sku property: Properties of SKU.

String status()

Get the status property: Status of the namespace.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

OffsetDateTime updatedAt()

Get the updatedAt property: The time the namespace was updated.

void validate()

Validates the instance.

SBNamespaceInner withAlternateName(String alternateName)

Set the alternateName property: Alternate name for namespace.

SBNamespaceInner withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.

SBNamespaceInner withEncryption(Encryption encryption)

Set the encryption property: Properties of BYOK Encryption description.

SBNamespaceInner withIdentity(Identity identity)

Set the identity property: Properties of BYOK Identity description.

SBNamespaceInner withLocation(String location)
SBNamespaceInner withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)

Set the privateEndpointConnections property: List of private endpoint connections.

SBNamespaceInner withSku(SBSku sku)

Set the sku property: Properties of SKU.

SBNamespaceInner withTags(Map<String,String> tags)
SBNamespaceInner withZoneRedundant(Boolean zoneRedundant)

Set the zoneRedundant property: Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.

Boolean zoneRedundant()

Get the zoneRedundant property: Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

SBNamespaceInner

public SBNamespaceInner()

Creates an instance of SBNamespaceInner class.

Method Details

alternateName

public String alternateName()

Get the alternateName property: Alternate name for namespace.

Returns:

the alternateName value.

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: The time the namespace was created.

Returns:

the createdAt value.

disableLocalAuth

public Boolean disableLocalAuth()

Get the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.

Returns:

the disableLocalAuth value.

encryption

public Encryption encryption()

Get the encryption property: Properties of BYOK Encryption description.

Returns:

the encryption value.

fromJson

public static SBNamespaceInner fromJson(JsonReader jsonReader)

Reads an instance of SBNamespaceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SBNamespaceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SBNamespaceInner.id()

Returns:

the id value.

identity

public Identity identity()

Get the identity property: Properties of BYOK Identity description.

Returns:

the identity value.

metricId

public String metricId()

Get the metricId property: Identifier for Azure Insights metrics.

Returns:

the metricId value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SBNamespaceInner.name()

Returns:

the name value.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections.

Returns:

the privateEndpointConnections value.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the namespace.

Returns:

the provisioningState value.

serviceBusEndpoint

public String serviceBusEndpoint()

Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.

Returns:

the serviceBusEndpoint value.

sku

public SBSku sku()

Get the sku property: Properties of SKU.

Returns:

the sku value.

status

public String status()

Get the status property: Status of the namespace.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SBNamespaceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SBNamespaceInner.type()

Returns:

the type value.

updatedAt

public OffsetDateTime updatedAt()

Get the updatedAt property: The time the namespace was updated.

Returns:

the updatedAt value.

validate

public void validate()

Validates the instance.

withAlternateName

public SBNamespaceInner withAlternateName(String alternateName)

Set the alternateName property: Alternate name for namespace.

Parameters:

alternateName - the alternateName value to set.

Returns:

the SBNamespaceInner object itself.

withDisableLocalAuth

public SBNamespaceInner withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.

Parameters:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the SBNamespaceInner object itself.

withEncryption

public SBNamespaceInner withEncryption(Encryption encryption)

Set the encryption property: Properties of BYOK Encryption description.

Parameters:

encryption - the encryption value to set.

Returns:

the SBNamespaceInner object itself.

withIdentity

public SBNamespaceInner withIdentity(Identity identity)

Set the identity property: Properties of BYOK Identity description.

Parameters:

identity - the identity value to set.

Returns:

the SBNamespaceInner object itself.

withLocation

public SBNamespaceInner withLocation(String location)

Overrides:

SBNamespaceInner.withLocation(String location)

Parameters:

location

withPrivateEndpointConnections

public SBNamespaceInner withPrivateEndpointConnections(List privateEndpointConnections)

Set the privateEndpointConnections property: List of private endpoint connections.

Parameters:

privateEndpointConnections - the privateEndpointConnections value to set.

Returns:

the SBNamespaceInner object itself.

withSku

public SBNamespaceInner withSku(SBSku sku)

Set the sku property: Properties of SKU.

Parameters:

sku - the sku value to set.

Returns:

the SBNamespaceInner object itself.

withTags

public SBNamespaceInner withTags(Map tags)

Overrides:

SBNamespaceInner.withTags(Map<String,String> tags)

Parameters:

tags

withZoneRedundant

public SBNamespaceInner withZoneRedundant(Boolean zoneRedundant)

Set the zoneRedundant property: Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.

Parameters:

zoneRedundant - the zoneRedundant value to set.

Returns:

the SBNamespaceInner object itself.

zoneRedundant

public Boolean zoneRedundant()

Get the zoneRedundant property: Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.

Returns:

the zoneRedundant value.

Applies to