Class AcceleratorPublicSetting
java.lang.Object
com.azure.resourcemanager.appplatform.models.AcceleratorAuthSetting
com.azure.resourcemanager.appplatform.models.AcceleratorPublicSetting
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcceleratorAuthSetting>
Auth setting for public url.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcceleratorPublicSetting class. -
Method Summary
Modifier and TypeMethodDescriptionauthType()Get the authType property: The type of the auth setting.Get the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.static AcceleratorPublicSettingfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcceleratorPublicSetting from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCaCertResourceId(String caCertResourceId) Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AcceleratorPublicSetting
public AcceleratorPublicSetting()Creates an instance of AcceleratorPublicSetting class.
-
-
Method Details
-
authType
Get the authType property: The type of the auth setting.- Overrides:
authTypein classAcceleratorAuthSetting- Returns:
- the authType value.
-
caCertResourceId
Get the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.- Returns:
- the caCertResourceId value.
-
withCaCertResourceId
Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.- Parameters:
caCertResourceId- the caCertResourceId value to set.- Returns:
- the AcceleratorPublicSetting object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classAcceleratorAuthSetting- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcceleratorAuthSetting>- Overrides:
toJsonin classAcceleratorAuthSetting- Throws:
IOException
-
fromJson
public static AcceleratorPublicSetting fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AcceleratorPublicSetting from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AcceleratorPublicSetting if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AcceleratorPublicSetting.
-