Class TestKeys
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.TestKeys
-
public final class TestKeys extends Object
Test keys payload.
-
-
Constructor Summary
Constructors Constructor Description TestKeys()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanenabled()Get the enabled property: Indicates whether the test endpoint feature enabled or not.StringprimaryKey()Get the primaryKey property: Primary key.StringprimaryTestEndpoint()Get the primaryTestEndpoint property: Primary test endpoint.StringsecondaryKey()Get the secondaryKey property: Secondary key.StringsecondaryTestEndpoint()Get the secondaryTestEndpoint property: Secondary test endpoint.voidvalidate()Validates the instance.TestKeyswithEnabled(Boolean enabled)Set the enabled property: Indicates whether the test endpoint feature enabled or not.TestKeyswithPrimaryKey(String primaryKey)Set the primaryKey property: Primary key.TestKeyswithPrimaryTestEndpoint(String primaryTestEndpoint)Set the primaryTestEndpoint property: Primary test endpoint.TestKeyswithSecondaryKey(String secondaryKey)Set the secondaryKey property: Secondary key.TestKeyswithSecondaryTestEndpoint(String secondaryTestEndpoint)Set the secondaryTestEndpoint property: Secondary test endpoint.
-
-
-
Method Detail
-
primaryKey
public String primaryKey()
Get the primaryKey property: Primary key.- Returns:
- the primaryKey value.
-
withPrimaryKey
public TestKeys withPrimaryKey(String primaryKey)
Set the primaryKey property: Primary key.- Parameters:
primaryKey- the primaryKey value to set.- Returns:
- the TestKeys object itself.
-
secondaryKey
public String secondaryKey()
Get the secondaryKey property: Secondary key.- Returns:
- the secondaryKey value.
-
withSecondaryKey
public TestKeys withSecondaryKey(String secondaryKey)
Set the secondaryKey property: Secondary key.- Parameters:
secondaryKey- the secondaryKey value to set.- Returns:
- the TestKeys object itself.
-
primaryTestEndpoint
public String primaryTestEndpoint()
Get the primaryTestEndpoint property: Primary test endpoint.- Returns:
- the primaryTestEndpoint value.
-
withPrimaryTestEndpoint
public TestKeys withPrimaryTestEndpoint(String primaryTestEndpoint)
Set the primaryTestEndpoint property: Primary test endpoint.- Parameters:
primaryTestEndpoint- the primaryTestEndpoint value to set.- Returns:
- the TestKeys object itself.
-
secondaryTestEndpoint
public String secondaryTestEndpoint()
Get the secondaryTestEndpoint property: Secondary test endpoint.- Returns:
- the secondaryTestEndpoint value.
-
withSecondaryTestEndpoint
public TestKeys withSecondaryTestEndpoint(String secondaryTestEndpoint)
Set the secondaryTestEndpoint property: Secondary test endpoint.- Parameters:
secondaryTestEndpoint- the secondaryTestEndpoint value to set.- Returns:
- the TestKeys object itself.
-
enabled
public Boolean enabled()
Get the enabled property: Indicates whether the test endpoint feature enabled or not.- Returns:
- the enabled value.
-
withEnabled
public TestKeys withEnabled(Boolean enabled)
Set the enabled property: Indicates whether the test endpoint feature enabled or not.- Parameters:
enabled- the enabled value to set.- Returns:
- the TestKeys object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-