GatewayKeysContractInner Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. fluent. models. GatewayKeysContractInner
- com.
public final class GatewayKeysContractInner
Gateway authentication keys.
Constructor Summary
Constructor | Description |
---|---|
GatewayKeysContractInner() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
primary()
Get the primary property: Primary gateway key. |
String |
secondary()
Get the secondary property: Secondary gateway key. |
void |
validate()
Validates the instance. |
Gateway |
withPrimary(String primary)
Set the primary property: Primary gateway key. |
Gateway |
withSecondary(String secondary)
Set the secondary property: Secondary gateway key. |
Methods inherited from java.lang.Object
Constructor Details
GatewayKeysContractInner
public GatewayKeysContractInner()
Creates an instance of GatewayKeysContractInner class.
Method Details
primary
public String primary()
Get the primary property: Primary gateway key.
Returns:
secondary
public String secondary()
Get the secondary property: Secondary gateway key.
Returns:
validate
public void validate()
Validates the instance.
withPrimary
public GatewayKeysContractInner withPrimary(String primary)
Set the primary property: Primary gateway key.
Parameters:
Returns:
withSecondary
public GatewayKeysContractInner withSecondary(String secondary)
Set the secondary property: Secondary gateway key.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for