Class Dapr
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.Dapr
-
public final class Dapr extends Object
Container App Dapr configuration.
-
-
Constructor Summary
Constructors Constructor Description Dapr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappId()Get the appId property: Dapr application identifier.IntegerappPort()Get the appPort property: Port on which the Dapr side car.List<DaprComponent>components()Get the components property: Collection of Dapr components.Booleanenabled()Get the enabled property: Boolean indicating if the Dapr side car is enabled.voidvalidate()Validates the instance.DaprwithAppId(String appId)Set the appId property: Dapr application identifier.DaprwithAppPort(Integer appPort)Set the appPort property: Port on which the Dapr side car.DaprwithComponents(List<DaprComponent> components)Set the components property: Collection of Dapr components.DaprwithEnabled(Boolean enabled)Set the enabled property: Boolean indicating if the Dapr side car is enabled.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled property: Boolean indicating if the Dapr side car is enabled.- Returns:
- the enabled value.
-
withEnabled
public Dapr withEnabled(Boolean enabled)
Set the enabled property: Boolean indicating if the Dapr side car is enabled.- Parameters:
enabled- the enabled value to set.- Returns:
- the Dapr object itself.
-
appId
public String appId()
Get the appId property: Dapr application identifier.- Returns:
- the appId value.
-
withAppId
public Dapr withAppId(String appId)
Set the appId property: Dapr application identifier.- Parameters:
appId- the appId value to set.- Returns:
- the Dapr object itself.
-
appPort
public Integer appPort()
Get the appPort property: Port on which the Dapr side car.- Returns:
- the appPort value.
-
withAppPort
public Dapr withAppPort(Integer appPort)
Set the appPort property: Port on which the Dapr side car.- Parameters:
appPort- the appPort value to set.- Returns:
- the Dapr object itself.
-
components
public List<DaprComponent> components()
Get the components property: Collection of Dapr components.- Returns:
- the components value.
-
withComponents
public Dapr withComponents(List<DaprComponent> components)
Set the components property: Collection of Dapr components.- Parameters:
components- the components value to set.- Returns:
- the Dapr object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-