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