次の方法で共有


SourceConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.servicelinker.models.SourceConfiguration

Implements

public final class SourceConfiguration
implements JsonSerializable<SourceConfiguration>

A configuration item for source resource.

Constructor Summary

Constructor Description
SourceConfiguration()

Creates an instance of SourceConfiguration class.

Method Summary

Modifier and Type Method and Description
LinkerConfigurationType configType()

Get the configType property: The type of setting.

String description()

Get the description property: Descriptive information for the configuration.

static SourceConfiguration fromJson(JsonReader jsonReader)

Reads an instance of SourceConfiguration from the JsonReader.

String keyVaultReferenceIdentity()

Get the keyVaultReferenceIdentity property: The identity for key vault reference, system or user-assigned managed identity ID.

String name()

Get the name property: The name of setting.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The value of setting.

SourceConfiguration withDescription(String description)

Set the description property: Descriptive information for the configuration.

SourceConfiguration withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)

Set the keyVaultReferenceIdentity property: The identity for key vault reference, system or user-assigned managed identity ID.

SourceConfiguration withName(String name)

Set the name property: The name of setting.

SourceConfiguration 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:

the configType value.

description

public String description()

Get the description property: Descriptive information for the configuration.

Returns:

the description value.

fromJson

public static SourceConfiguration fromJson(JsonReader jsonReader)

Reads an instance of SourceConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SourceConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SourceConfiguration.

keyVaultReferenceIdentity

public String keyVaultReferenceIdentity()

Get the keyVaultReferenceIdentity property: The identity for key vault reference, system or user-assigned managed identity ID.

Returns:

the keyVaultReferenceIdentity value.

name

public String name()

Get the name property: The name of setting.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The value of setting.

Returns:

the value value.

withDescription

public SourceConfiguration withDescription(String description)

Set the description property: Descriptive information for the configuration.

Parameters:

description - the description value to set.

Returns:

the SourceConfiguration object itself.

withKeyVaultReferenceIdentity

public SourceConfiguration withKeyVaultReferenceIdentity(String keyVaultReferenceIdentity)

Set the keyVaultReferenceIdentity property: The identity for key vault reference, system or user-assigned managed identity ID.

Parameters:

keyVaultReferenceIdentity - the keyVaultReferenceIdentity value to set.

Returns:

the SourceConfiguration object itself.

withName

public SourceConfiguration withName(String name)

Set the name property: The name of setting.

Parameters:

name - the name value to set.

Returns:

the SourceConfiguration object itself.

withValue

public SourceConfiguration withValue(String value)

Set the value property: The value of setting.

Parameters:

value - the value value to set.

Returns:

the SourceConfiguration object itself.

Applies to