ClientInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventgrid. fluent. models. ClientInner
- com.
- com.
public final class ClientInner
extends ProxyResource
The Client resource.
Constructor Summary
| Constructor | Description |
|---|---|
| ClientInner() |
Creates an instance of Client |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
attributes()
Get the attributes property: Attributes for the client. |
| String |
authenticationName()
Get the authentication |
|
Client |
clientCertificateAuthentication()
Get the client |
| String |
description()
Get the description property: Description for the Client resource. |
|
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Client |
provisioningState()
Get the provisioning |
|
Client |
state()
Get the state property: Indicates if the client is enabled or not. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Client |
withAttributes(Map<String,Object> attributes)
Set the attributes property: Attributes for the client. |
|
Client |
withAuthenticationName(String authenticationName)
Set the authentication |
|
Client |
withClientCertificateAuthentication(ClientCertificateAuthentication clientCertificateAuthentication)
Set the client |
|
Client |
withDescription(String description)
Set the description property: Description for the Client resource. |
|
Client |
withState(ClientState state)
Set the state property: Indicates if the client is enabled or not. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ClientInner
public ClientInner()
Creates an instance of ClientInner class.
Method Details
attributes
public Map<String,Object> attributes()
Get the attributes property: Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }.
Returns:
authenticationName
public String authenticationName()
Get the authenticationName property: The name presented by the client for authentication. The default value is the name of the resource.
Returns:
clientCertificateAuthentication
public ClientCertificateAuthentication clientCertificateAuthentication()
Get the clientCertificateAuthentication property: The client certificate authentication information.
Returns:
description
public String description()
Get the description property: Description for the Client resource.
Returns:
fromJson
public static ClientInner fromJson(JsonReader jsonReader)
Reads an instance of ClientInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ClientInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ClientInner.name()Returns:
provisioningState
public ClientProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the Client resource.
Returns:
state
public ClientState state()
Get the state property: Indicates if the client is enabled or not. Default value is Enabled.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to the Event Grid resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ClientInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ClientInner.type()Returns:
validate
public void validate()
Validates the instance.
withAttributes
public ClientInner withAttributes(Map<String,Object> attributes)
Set the attributes property: Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }.
Parameters:
Returns:
withAuthenticationName
public ClientInner withAuthenticationName(String authenticationName)
Set the authenticationName property: The name presented by the client for authentication. The default value is the name of the resource.
Parameters:
Returns:
withClientCertificateAuthentication
public ClientInner withClientCertificateAuthentication(ClientCertificateAuthentication clientCertificateAuthentication)
Set the clientCertificateAuthentication property: The client certificate authentication information.
Parameters:
Returns:
withDescription
public ClientInner withDescription(String description)
Set the description property: Description for the Client resource.
Parameters:
Returns:
withState
public ClientInner withState(ClientState state)
Set the state property: Indicates if the client is enabled or not. Default value is Enabled.
Parameters:
Returns: