AttributeNamespaceCreateRequest Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. AttributeNamespaceCreateRequest
- com.
Implements
public final class AttributeNamespaceCreateRequest
implements JsonSerializable<AttributeNamespaceCreateRequest>
Request body for creating an attribute namespace.
Constructor Summary
| Constructor | Description |
|---|---|
| AttributeNamespaceCreateRequest() |
Creates an instance of Attribute |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Attribute |
fromJson(JsonReader jsonReader)
Reads an instance of Attribute |
| String |
namespaceOwnerPrincipalId()
Get the namespace |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Attribute |
withNamespaceOwnerPrincipalId(String namespaceOwnerPrincipalId)
Set the namespace |
Methods inherited from java.lang.Object
Constructor Details
AttributeNamespaceCreateRequest
public AttributeNamespaceCreateRequest()
Creates an instance of AttributeNamespaceCreateRequest class.
Method Details
fromJson
public static AttributeNamespaceCreateRequest fromJson(JsonReader jsonReader)
Reads an instance of AttributeNamespaceCreateRequest from the JsonReader.
Parameters:
Returns:
Throws:
namespaceOwnerPrincipalId
public String namespaceOwnerPrincipalId()
Get the namespaceOwnerPrincipalId property: The principal ID of the namespace owner.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNamespaceOwnerPrincipalId
public AttributeNamespaceCreateRequest withNamespaceOwnerPrincipalId(String namespaceOwnerPrincipalId)
Set the namespaceOwnerPrincipalId property: The principal ID of the namespace owner.
Parameters:
Returns: