Secret Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Secret
- com.
Implements
public final class Secret
implements JsonSerializable<Secret>
Container App Secret.
Constructor Summary
Constructor | Description |
---|---|
Secret() |
Creates an instance of Secret class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Secret |
fromJson(JsonReader jsonReader)
Reads an instance of Secret from the Json |
String |
name()
Get the name property: Secret Name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Secret Value. |
Secret |
withName(String name)
Set the name property: Secret Name. |
Secret |
withValue(String value)
Set the value property: Secret Value. |
Methods inherited from java.lang.Object
Constructor Details
Secret
public Secret()
Creates an instance of Secret class.
Method Details
fromJson
public static Secret fromJson(JsonReader jsonReader)
Reads an instance of Secret from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Secret Name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Secret Value.
Returns:
withName
public Secret withName(String name)
Set the name property: Secret Name.
Parameters:
Returns:
withValue
public Secret withValue(String value)
Set the value property: Secret Value.
Parameters:
Returns:
Applies to
Azure SDK for Java