Class SBNamespaceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.servicebus.fluent.models.SBNamespaceInner
-
public class SBNamespaceInner extends com.azure.core.management.ResourceDescription of a namespace resource.
-
-
Constructor Summary
Constructors Constructor Description SBNamespaceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimecreatedAt()Get the createdAt property: The time the namespace was created.StringmetricId()Get the metricId property: Identifier for Azure Insights metrics.StringprovisioningState()Get the provisioningState property: Provisioning state of the namespace.StringserviceBusEndpoint()Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.SBSkusku()Get the sku property: Properties of Sku.OffsetDateTimeupdatedAt()Get the updatedAt property: The time the namespace was updated.voidvalidate()Validates the instance.SBNamespaceInnerwithLocation(String location)SBNamespaceInnerwithSku(SBSku sku)Set the sku property: Properties of Sku.SBNamespaceInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
sku
public SBSku sku()
Get the sku property: Properties of Sku.- Returns:
- the sku value.
-
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.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the namespace.- Returns:
- the provisioningState value.
-
createdAt
public OffsetDateTime createdAt()
Get the createdAt property: The time the namespace was created.- Returns:
- the createdAt value.
-
updatedAt
public OffsetDateTime updatedAt()
Get the updatedAt property: The time the namespace was updated.- Returns:
- the updatedAt value.
-
serviceBusEndpoint
public String serviceBusEndpoint()
Get the serviceBusEndpoint property: Endpoint you can use to perform Service Bus operations.- Returns:
- the serviceBusEndpoint value.
-
metricId
public String metricId()
Get the metricId property: Identifier for Azure Insights metrics.- Returns:
- the metricId value.
-
withLocation
public SBNamespaceInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public SBNamespaceInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-