Class Secret
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.Secret
-
public final class Secret extends Object
Container App Secret.
-
-
Constructor Summary
Constructors Constructor Description Secret()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: Secret Name.voidvalidate()Validates the instance.Stringvalue()Get the value property: Secret Value.SecretwithName(String name)Set the name property: Secret Name.SecretwithValue(String value)Set the value property: Secret Value.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Secret Name.- Returns:
- the name value.
-
withName
public Secret withName(String name)
Set the name property: Secret Name.- Parameters:
name- the name value to set.- Returns:
- the Secret object itself.
-
value
public String value()
Get the value property: Secret Value.- Returns:
- the value value.
-
withValue
public Secret withValue(String value)
Set the value property: Secret Value.- Parameters:
value- the value value to set.- Returns:
- the Secret object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-