SourceConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. servicelinker. models. SourceConfiguration
- com.
Implements
public final class SourceConfiguration
implements JsonSerializable<SourceConfiguration>
A configuration item for source resource.
Constructor Summary
| Constructor | Description |
|---|---|
| SourceConfiguration() |
Creates an instance of Source |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Linker |
configType()
Get the config |
| String |
description()
Get the description property: Descriptive information for the configuration. |
|
static
Source |
fromJson(JsonReader jsonReader)
Reads an instance of Source |
| String |
keyVaultReferenceIdentity()
Get the key |
| String |
name()
Get the name property: The name of setting. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: The value of setting. |
|
Source |
withDescription(String description)
Set the description property: Descriptive information for the configuration. |
|
Source |
withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)
Set the key |
|
Source |
withName(String name)
Set the name property: The name of setting. |
|
Source |
withValue(String value)
Set the value property: The value of setting. |
Methods inherited from java.lang.Object
Constructor Details
SourceConfiguration
public SourceConfiguration()
Creates an instance of SourceConfiguration class.
Method Details
configType
public LinkerConfigurationType configType()
Get the configType property: The type of setting.
Returns:
description
public String description()
Get the description property: Descriptive information for the configuration.
Returns:
fromJson
public static SourceConfiguration fromJson(JsonReader jsonReader)
Reads an instance of SourceConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
keyVaultReferenceIdentity
public String keyVaultReferenceIdentity()
Get the keyVaultReferenceIdentity property: The identity for key vault reference, system or user-assigned managed identity ID.
Returns:
name
public String name()
Get the name property: The name of setting.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The value of setting.
Returns:
withDescription
public SourceConfiguration withDescription(String description)
Set the description property: Descriptive information for the configuration.
Parameters:
Returns:
withKeyVaultReferenceIdentity
public SourceConfiguration withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)
Set the keyVaultReferenceIdentity property: The identity for key vault reference, system or user-assigned managed identity ID.
Parameters:
Returns:
withName
public SourceConfiguration withName(String name)
Set the name property: The name of setting.
Parameters:
Returns:
withValue
public SourceConfiguration withValue(String value)
Set the value property: The value of setting.
Parameters:
Returns: