TestKeys Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. TestKeys
- com.
Implements
public final class TestKeys
implements JsonSerializable<TestKeys>
Test keys payload.
Constructor Summary
Constructor | Description |
---|---|
TestKeys() |
Creates an instance of Test |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: Indicates whether the test endpoint feature enabled or not. |
static
Test |
fromJson(JsonReader jsonReader)
Reads an instance of Test |
String |
primaryKey()
Get the primary |
String |
primaryTestEndpoint()
Get the primary |
String |
secondaryKey()
Get the secondary |
String |
secondaryTestEndpoint()
Get the secondary |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Test |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the test endpoint feature enabled or not. |
Test |
withPrimaryKey(String primaryKey)
Set the primary |
Test |
withPrimaryTestEndpoint(String primaryTestEndpoint)
Set the primary |
Test |
withSecondaryKey(String secondaryKey)
Set the secondary |
Test |
withSecondaryTestEndpoint(String secondaryTestEndpoint)
Set the secondary |
Methods inherited from java.lang.Object
Constructor Details
TestKeys
public TestKeys()
Creates an instance of TestKeys class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Indicates whether the test endpoint feature enabled or not.
Returns:
fromJson
public static TestKeys fromJson(JsonReader jsonReader)
Reads an instance of TestKeys from the JsonReader.
Parameters:
Returns:
Throws:
primaryKey
public String primaryKey()
Get the primaryKey property: Primary key.
Returns:
primaryTestEndpoint
public String primaryTestEndpoint()
Get the primaryTestEndpoint property: Primary test endpoint.
Returns:
secondaryKey
public String secondaryKey()
Get the secondaryKey property: Secondary key.
Returns:
secondaryTestEndpoint
public String secondaryTestEndpoint()
Get the secondaryTestEndpoint property: Secondary test endpoint.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public TestKeys withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the test endpoint feature enabled or not.
Parameters:
Returns:
withPrimaryKey
public TestKeys withPrimaryKey(String primaryKey)
Set the primaryKey property: Primary key.
Parameters:
Returns:
withPrimaryTestEndpoint
public TestKeys withPrimaryTestEndpoint(String primaryTestEndpoint)
Set the primaryTestEndpoint property: Primary test endpoint.
Parameters:
Returns:
withSecondaryKey
public TestKeys withSecondaryKey(String secondaryKey)
Set the secondaryKey property: Secondary key.
Parameters:
Returns:
withSecondaryTestEndpoint
public TestKeys withSecondaryTestEndpoint(String secondaryTestEndpoint)
Set the secondaryTestEndpoint property: Secondary test endpoint.
Parameters:
Returns:
Applies to
Azure SDK for Java