Class GatewayKeysContractInner
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.GatewayKeysContractInner
-
public final class GatewayKeysContractInner extends Object
Gateway authentication keys.
-
-
Constructor Summary
Constructors Constructor Description GatewayKeysContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
primary()
Get the primary property: Primary gateway key.String
secondary()
Get the secondary property: Secondary gateway key.void
validate()
Validates the instance.GatewayKeysContractInner
withPrimary(String primary)
Set the primary property: Primary gateway key.GatewayKeysContractInner
withSecondary(String secondary)
Set the secondary property: Secondary gateway key.
-
-
-
Method Detail
-
primary
public String primary()
Get the primary property: Primary gateway key.- Returns:
- the primary value.
-
withPrimary
public GatewayKeysContractInner withPrimary(String primary)
Set the primary property: Primary gateway key.- Parameters:
primary
- the primary value to set.- Returns:
- the GatewayKeysContractInner object itself.
-
secondary
public String secondary()
Get the secondary property: Secondary gateway key.- Returns:
- the secondary value.
-
withSecondary
public GatewayKeysContractInner withSecondary(String secondary)
Set the secondary property: Secondary gateway key.- Parameters:
secondary
- the secondary value to set.- Returns:
- the GatewayKeysContractInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-