GatewayKeysContractInner Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.fluent.models.GatewayKeysContractInner

public final class GatewayKeysContractInner

Gateway authentication keys.

Constructor Summary

Constructor Description
GatewayKeysContractInner()

Creates an instance of GatewayKeysContractInner class.

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.

GatewayKeysContractInner withPrimary(String primary)

Set the primary property: Primary gateway key.

GatewayKeysContractInner 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:

the primary value.

secondary

public String secondary()

Get the secondary property: Secondary gateway key.

Returns:

the secondary value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to