Class DataPartitionNames
- java.lang.Object
-
- com.azure.resourcemanager.oep.models.DataPartitionNames
-
public final class DataPartitionNames extends Object
The list of Energy services resource's Data Partition Names.
-
-
Constructor Summary
Constructors Constructor Description DataPartitionNames()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: The name property.void
validate()
Validates the instance.DataPartitionNames
withName(String name)
Set the name property: The name property.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name property.- Returns:
- the name value.
-
withName
public DataPartitionNames withName(String name)
Set the name property: The name property.- Parameters:
name
- the name value to set.- Returns:
- the DataPartitionNames object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-