Class EnergyServiceProperties
- java.lang.Object
-
- com.azure.resourcemanager.oep.models.EnergyServiceProperties
-
public final class EnergyServiceProperties extends Object
The EnergyServiceProperties model.
-
-
Constructor Summary
Constructors Constructor Description EnergyServiceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
authAppId()
Get the authAppId property: The authAppId property.List<DataPartitionNames>
dataPartitionNames()
Get the dataPartitionNames property: The dataPartitionNames property.String
dnsName()
Get the dnsName property: The dnsName property.ProvisioningState
provisioningState()
Get the provisioningState property: The provisioningState property.void
validate()
Validates the instance.EnergyServiceProperties
withAuthAppId(String authAppId)
Set the authAppId property: The authAppId property.EnergyServiceProperties
withDataPartitionNames(List<DataPartitionNames> dataPartitionNames)
Set the dataPartitionNames property: The dataPartitionNames property.
-
-
-
Method Detail
-
dnsName
public String dnsName()
Get the dnsName property: The dnsName property.- Returns:
- the dnsName value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
authAppId
public String authAppId()
Get the authAppId property: The authAppId property.- Returns:
- the authAppId value.
-
withAuthAppId
public EnergyServiceProperties withAuthAppId(String authAppId)
Set the authAppId property: The authAppId property.- Parameters:
authAppId
- the authAppId value to set.- Returns:
- the EnergyServiceProperties object itself.
-
dataPartitionNames
public List<DataPartitionNames> dataPartitionNames()
Get the dataPartitionNames property: The dataPartitionNames property.- Returns:
- the dataPartitionNames value.
-
withDataPartitionNames
public EnergyServiceProperties withDataPartitionNames(List<DataPartitionNames> dataPartitionNames)
Set the dataPartitionNames property: The dataPartitionNames property.- Parameters:
dataPartitionNames
- the dataPartitionNames value to set.- Returns:
- the EnergyServiceProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-