Class ValidateSecretInput
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.ValidateSecretInput
-
public final class ValidateSecretInput extends Object
Input of the secret to be validated.
-
-
Constructor Summary
Constructors Constructor Description ValidateSecretInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferencesecretSource()Get the secretSource property: The secret source.ValidateSecretTypesecretType()Get the secretType property: The secret type.voidvalidate()Validates the instance.ValidateSecretInputwithSecretSource(ResourceReference secretSource)Set the secretSource property: The secret source.ValidateSecretInputwithSecretType(ValidateSecretType secretType)Set the secretType property: The secret type.
-
-
-
Method Detail
-
secretSource
public ResourceReference secretSource()
Get the secretSource property: The secret source.- Returns:
- the secretSource value.
-
withSecretSource
public ValidateSecretInput withSecretSource(ResourceReference secretSource)
Set the secretSource property: The secret source.- Parameters:
secretSource- the secretSource value to set.- Returns:
- the ValidateSecretInput object itself.
-
secretType
public ValidateSecretType secretType()
Get the secretType property: The secret type.- Returns:
- the secretType value.
-
withSecretType
public ValidateSecretInput withSecretType(ValidateSecretType secretType)
Set the secretType property: The secret type.- Parameters:
secretType- the secretType value to set.- Returns:
- the ValidateSecretInput object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-