Class ResourcesResponseEndpointsItem
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.ResourcesResponseEndpointsItem
-
public final class ResourcesResponseEndpointsItem extends Object
The ResourcesResponseEndpointsItem model.
-
-
Constructor Summary
Constructors Constructor Description ResourcesResponseEndpointsItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResourcesResponseEndpointsPropertiesItemsItem>customDomains()Get the customDomains property: The customDomains property.Booleanhistory()Get the history property: The history property.Stringid()Get the id property: The id property.Stringname()Get the name property: The name property.voidvalidate()Validates the instance.ResourcesResponseEndpointsItemwithCustomDomains(List<ResourcesResponseEndpointsPropertiesItemsItem> customDomains)Set the customDomains property: The customDomains property.ResourcesResponseEndpointsItemwithHistory(Boolean history)Set the history property: The history property.ResourcesResponseEndpointsItemwithId(String id)Set the id property: The id property.ResourcesResponseEndpointsItemwithName(String name)Set the name property: The name property.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The id property.- Returns:
- the id value.
-
withId
public ResourcesResponseEndpointsItem withId(String id)
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the ResourcesResponseEndpointsItem object itself.
-
name
public String name()
Get the name property: The name property.- Returns:
- the name value.
-
withName
public ResourcesResponseEndpointsItem withName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the ResourcesResponseEndpointsItem object itself.
-
history
public Boolean history()
Get the history property: The history property.- Returns:
- the history value.
-
withHistory
public ResourcesResponseEndpointsItem withHistory(Boolean history)
Set the history property: The history property.- Parameters:
history- the history value to set.- Returns:
- the ResourcesResponseEndpointsItem object itself.
-
customDomains
public List<ResourcesResponseEndpointsPropertiesItemsItem> customDomains()
Get the customDomains property: The customDomains property.- Returns:
- the customDomains value.
-
withCustomDomains
public ResourcesResponseEndpointsItem withCustomDomains(List<ResourcesResponseEndpointsPropertiesItemsItem> customDomains)
Set the customDomains property: The customDomains property.- Parameters:
customDomains- the customDomains value to set.- Returns:
- the ResourcesResponseEndpointsItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-