CredentialResult Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. CredentialResult
- com.
Implements
public final class CredentialResult
implements JsonSerializable<CredentialResult>
The credential result response.
Constructor Summary
Constructor | Description |
---|---|
CredentialResult() |
Creates an instance of Credential |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Credential |
fromJson(JsonReader jsonReader)
Reads an instance of Credential |
String |
name()
Get the name property: The name of the credential. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
byte[] |
value()
Get the value property: Base64-encoded Kubernetes configuration file. |
Methods inherited from java.lang.Object
Constructor Details
CredentialResult
public CredentialResult()
Creates an instance of CredentialResult class.
Method Details
fromJson
public static CredentialResult fromJson(JsonReader jsonReader)
Reads an instance of CredentialResult from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the credential.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public byte[] value()
Get the value property: Base64-encoded Kubernetes configuration file.
Returns:
Applies to
Azure SDK for Java