Class SBNamespaceUpdateProperties
java.lang.Object
com.azure.resourcemanager.servicebus.fluent.models.SBNamespaceUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SBNamespaceUpdateProperties>
public final class SBNamespaceUpdateProperties
extends Object
implements com.azure.json.JsonSerializable<SBNamespaceUpdateProperties>
Properties of the namespace.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SBNamespaceUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the alternateName property: Alternate name for namespace.Get the createdAt property: The time the namespace was created.Get the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.Get the encryption property: Properties of BYOK Encryption description.static SBNamespaceUpdatePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SBNamespaceUpdateProperties from the JsonReader.metricId()Get the metricId property: Identifier for Azure Insights metrics.Get the privateEndpointConnections property: List of private endpoint connections.Get the provisioningState property: Provisioning state of the namespace.Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.status()Get the status property: Status of the namespace.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the updatedAt property: The time the namespace was updated.voidvalidate()Validates the instance.withAlternateName(String alternateName) Set the alternateName property: Alternate name for namespace.withDisableLocalAuth(Boolean disableLocalAuth) Set the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.withEncryption(Encryption encryption) Set the encryption property: Properties of BYOK Encryption description.withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of private endpoint connections.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SBNamespaceUpdateProperties
public SBNamespaceUpdateProperties()Creates an instance of SBNamespaceUpdateProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the namespace.- Returns:
- the provisioningState value.
-
status
Get the status property: Status of the namespace.- Returns:
- the status value.
-
createdAt
Get the createdAt property: The time the namespace was created.- Returns:
- the createdAt value.
-
updatedAt
Get the updatedAt property: The time the namespace was updated.- Returns:
- the updatedAt value.
-
serviceBusEndpoint
Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.- Returns:
- the serviceBusEndpoint value.
-
metricId
Get the metricId property: Identifier for Azure Insights metrics.- Returns:
- the metricId value.
-
encryption
Get the encryption property: Properties of BYOK Encryption description.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: Properties of BYOK Encryption description.- Parameters:
encryption- the encryption value to set.- Returns:
- the SBNamespaceUpdateProperties object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: List of private endpoint connections.- Returns:
- the privateEndpointConnections value.
-
withPrivateEndpointConnections
public SBNamespaceUpdateProperties withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of private endpoint connections.- Parameters:
privateEndpointConnections- the privateEndpointConnections value to set.- Returns:
- the SBNamespaceUpdateProperties object itself.
-
disableLocalAuth
Get the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: This property disables SAS authentication for the Service Bus namespace.- Parameters:
disableLocalAuth- the disableLocalAuth value to set.- Returns:
- the SBNamespaceUpdateProperties object itself.
-
alternateName
Get the alternateName property: Alternate name for namespace.- Returns:
- the alternateName value.
-
withAlternateName
Set the alternateName property: Alternate name for namespace.- Parameters:
alternateName- the alternateName value to set.- Returns:
- the SBNamespaceUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SBNamespaceUpdateProperties>- Throws:
IOException
-
fromJson
public static SBNamespaceUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SBNamespaceUpdateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SBNamespaceUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SBNamespaceUpdateProperties.
-