Class RegionContractInner
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.RegionContractInner
-
public final class RegionContractInner extends Object
Region profile.
-
-
Constructor Summary
Constructors Constructor Description RegionContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isDeleted()
Get the isDeleted property: whether Region is deleted.Boolean
isMasterRegion()
Get the isMasterRegion property: whether Region is the master region.String
name()
Get the name property: Region name.void
validate()
Validates the instance.RegionContractInner
withIsDeleted(Boolean isDeleted)
Set the isDeleted property: whether Region is deleted.RegionContractInner
withIsMasterRegion(Boolean isMasterRegion)
Set the isMasterRegion property: whether Region is the master region.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Region name.- Returns:
- the name value.
-
isMasterRegion
public Boolean isMasterRegion()
Get the isMasterRegion property: whether Region is the master region.- Returns:
- the isMasterRegion value.
-
withIsMasterRegion
public RegionContractInner withIsMasterRegion(Boolean isMasterRegion)
Set the isMasterRegion property: whether Region is the master region.- Parameters:
isMasterRegion
- the isMasterRegion value to set.- Returns:
- the RegionContractInner object itself.
-
isDeleted
public Boolean isDeleted()
Get the isDeleted property: whether Region is deleted.- Returns:
- the isDeleted value.
-
withIsDeleted
public RegionContractInner withIsDeleted(Boolean isDeleted)
Set the isDeleted property: whether Region is deleted.- Parameters:
isDeleted
- the isDeleted value to set.- Returns:
- the RegionContractInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-