Class EndpointAuthKeysInner
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.EndpointAuthKeysInner
-
public final class EndpointAuthKeysInner extends Object
Keys for endpoint authentication.
-
-
Constructor Summary
Constructors Constructor Description EndpointAuthKeysInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
primaryKey()
Get the primaryKey property: The primary key.String
secondaryKey()
Get the secondaryKey property: The secondary key.void
validate()
Validates the instance.EndpointAuthKeysInner
withPrimaryKey(String primaryKey)
Set the primaryKey property: The primary key.EndpointAuthKeysInner
withSecondaryKey(String secondaryKey)
Set the secondaryKey property: The secondary key.
-
-
-
Method Detail
-
primaryKey
public String primaryKey()
Get the primaryKey property: The primary key.- Returns:
- the primaryKey value.
-
withPrimaryKey
public EndpointAuthKeysInner withPrimaryKey(String primaryKey)
Set the primaryKey property: The primary key.- Parameters:
primaryKey
- the primaryKey value to set.- Returns:
- the EndpointAuthKeysInner object itself.
-
secondaryKey
public String secondaryKey()
Get the secondaryKey property: The secondary key.- Returns:
- the secondaryKey value.
-
withSecondaryKey
public EndpointAuthKeysInner withSecondaryKey(String secondaryKey)
Set the secondaryKey property: The secondary key.- Parameters:
secondaryKey
- the secondaryKey value to set.- Returns:
- the EndpointAuthKeysInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-