java.lang.Object
com.azure.resourcemanager.automation.models.AgentRegistrationKeys
public final class AgentRegistrationKeys
extends Object
Definition of the agent registration keys.
-
Constructor Summary
Constructors
-
Method Summary
Get the primary property: Gets or sets the primary key.
Get the secondary property: Gets or sets the secondary key.
void
Set the primary property: Gets or sets the primary key.
Set the secondary property: Gets or sets the secondary key.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AgentRegistrationKeys
public AgentRegistrationKeys()
-
Method Details
-
primary
Get the primary property: Gets or sets the primary key.
- Returns:
- the primary value.
-
withPrimary
Set the primary property: Gets or sets the primary key.
- Parameters:
primary
- the primary value to set.
- Returns:
- the AgentRegistrationKeys object itself.
-
secondary
Get the secondary property: Gets or sets the secondary key.
- Returns:
- the secondary value.
-
withSecondary
Set the secondary property: Gets or sets the secondary key.
- Parameters:
secondary
- the secondary value to set.
- Returns:
- the AgentRegistrationKeys object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.