Class AcceleratorBasicAuthSetting
java.lang.Object
com.azure.resourcemanager.appplatform.models.AcceleratorAuthSetting
com.azure.resourcemanager.appplatform.models.AcceleratorBasicAuthSetting
Auth setting for basic auth.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcceleratorBasicAuthSetting class. -
Method Summary
Modifier and TypeMethodDescriptionGet the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.password()Get the password property: Password of git repository basic auth.username()Get the username property: Username of git repository basic auth.voidvalidate()Validates the instance.withCaCertResourceId(String caCertResourceId) Set the caCertResourceId property: Resource Id of CA certificate for https URL of Git repository.withPassword(String password) Set the password property: Password of git repository basic auth.withUsername(String username) Set the username property: Username of git repository basic auth.
-
Constructor Details
-
AcceleratorBasicAuthSetting
public AcceleratorBasicAuthSetting()Creates an instance of AcceleratorBasicAuthSetting class.
-
-
Method Details
-
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 AcceleratorBasicAuthSetting object itself.
-
username
Get the username property: Username of git repository basic auth.- Returns:
- the username value.
-
withUsername
Set the username property: Username of git repository basic auth.- Parameters:
username- the username value to set.- Returns:
- the AcceleratorBasicAuthSetting object itself.
-
password
Get the password property: Password of git repository basic auth.- Returns:
- the password value.
-
withPassword
Set the password property: Password of git repository basic auth.- Parameters:
password- the password value to set.- Returns:
- the AcceleratorBasicAuthSetting object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classAcceleratorAuthSetting- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-