AuthenticationKeysInner Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. fluent. models. AuthenticationKeysInner
- com.
Implements
public final class AuthenticationKeysInner
implements JsonSerializable<AuthenticationKeysInner>
An authentication key.
Constructor Summary
| Constructor | Description |
|---|---|
| AuthenticationKeysInner() |
Creates an instance of Authentication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
authKey1()
Get the auth |
| String |
authKey2()
Get the auth |
|
static
Authentication |
fromJson(JsonReader jsonReader)
Reads an instance of Authentication |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Authentication |
withAuthKey1(String authKey1)
Set the auth |
|
Authentication |
withAuthKey2(String authKey2)
Set the auth |
Methods inherited from java.lang.Object
Constructor Details
AuthenticationKeysInner
public AuthenticationKeysInner()
Creates an instance of AuthenticationKeysInner class.
Method Details
authKey1
public String authKey1()
Get the authKey1 property: The first authentication key.
Returns:
authKey2
public String authKey2()
Get the authKey2 property: The second authentication key.
Returns:
fromJson
public static AuthenticationKeysInner fromJson(JsonReader jsonReader)
Reads an instance of AuthenticationKeysInner from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAuthKey1
public AuthenticationKeysInner withAuthKey1(String authKey1)
Set the authKey1 property: The first authentication key.
Parameters:
Returns:
withAuthKey2
public AuthenticationKeysInner withAuthKey2(String authKey2)
Set the authKey2 property: The second authentication key.
Parameters:
Returns: