GitHubClientSecret Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.GitHubClientSecret

Implements

public final class GitHubClientSecret
implements JsonSerializable<GitHubClientSecret>

Client secret information for factory's bring your own app repository configuration.

Constructor Summary

Constructor Description
GitHubClientSecret()

Creates an instance of GitHubClientSecret class.

Method Summary

Modifier and Type Method and Description
String byoaSecretAkvUrl()

Get the byoaSecretAkvUrl property: Bring your own app client secret AKV URL.

String byoaSecretName()

Get the byoaSecretName property: Bring your own app client secret name in AKV.

static GitHubClientSecret fromJson(JsonReader jsonReader)

Reads an instance of GitHubClientSecret from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GitHubClientSecret withByoaSecretAkvUrl(String byoaSecretAkvUrl)

Set the byoaSecretAkvUrl property: Bring your own app client secret AKV URL.

GitHubClientSecret withByoaSecretName(String byoaSecretName)

Set the byoaSecretName property: Bring your own app client secret name in AKV.

Methods inherited from java.lang.Object

Constructor Details

GitHubClientSecret

public GitHubClientSecret()

Creates an instance of GitHubClientSecret class.

Method Details

byoaSecretAkvUrl

public String byoaSecretAkvUrl()

Get the byoaSecretAkvUrl property: Bring your own app client secret AKV URL.

Returns:

the byoaSecretAkvUrl value.

byoaSecretName

public String byoaSecretName()

Get the byoaSecretName property: Bring your own app client secret name in AKV.

Returns:

the byoaSecretName value.

fromJson

public static GitHubClientSecret fromJson(JsonReader jsonReader)

Reads an instance of GitHubClientSecret from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GitHubClientSecret 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 GitHubClientSecret.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withByoaSecretAkvUrl

public GitHubClientSecret withByoaSecretAkvUrl(String byoaSecretAkvUrl)

Set the byoaSecretAkvUrl property: Bring your own app client secret AKV URL.

Parameters:

byoaSecretAkvUrl - the byoaSecretAkvUrl value to set.

Returns:

the GitHubClientSecret object itself.

withByoaSecretName

public GitHubClientSecret withByoaSecretName(String byoaSecretName)

Set the byoaSecretName property: Bring your own app client secret name in AKV.

Parameters:

byoaSecretName - the byoaSecretName value to set.

Returns:

the GitHubClientSecret object itself.

Applies to