DiagnosticStorageProperties Class
- java.
lang. Object - com.
azure. resourcemanager. deviceupdate. models. DiagnosticStorageProperties
- com.
Implements
public final class DiagnosticStorageProperties
implements JsonSerializable<DiagnosticStorageProperties>
Customer-initiated diagnostic log collection storage properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DiagnosticStorageProperties() |
Creates an instance of Diagnostic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Authentication |
authenticationType()
Get the authentication |
| String |
connectionString()
Get the connection |
|
static
Diagnostic |
fromJson(JsonReader jsonReader)
Reads an instance of Diagnostic |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Diagnostic |
withAuthenticationType(AuthenticationType authenticationType)
Set the authentication |
|
Diagnostic |
withConnectionString(String connectionString)
Set the connection |
|
Diagnostic |
withResourceId(String resourceId)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
DiagnosticStorageProperties
public DiagnosticStorageProperties()
Creates an instance of DiagnosticStorageProperties class.
Method Details
authenticationType
public AuthenticationType authenticationType()
Get the authenticationType property: Authentication Type.
Returns:
connectionString
public String connectionString()
Get the connectionString property: ConnectionString of the diagnostic storage account.
Returns:
fromJson
public static DiagnosticStorageProperties fromJson(JsonReader jsonReader)
Reads an instance of DiagnosticStorageProperties from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId property: ResourceId of the diagnostic storage account.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuthenticationType
public DiagnosticStorageProperties withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: Authentication Type.
Parameters:
Returns:
withConnectionString
public DiagnosticStorageProperties withConnectionString(String connectionString)
Set the connectionString property: ConnectionString of the diagnostic storage account.
Parameters:
Returns:
withResourceId
public DiagnosticStorageProperties withResourceId(String resourceId)
Set the resourceId property: ResourceId of the diagnostic storage account.
Parameters:
Returns: