SettingLabelSelector Class
- java.
lang. Object - com.
azure. data. appconfiguration. models. SettingLabelSelector
- com.
public final class SettingLabelSelector
A class that contains the label selector options for a GET request to the service.
Constructor Summary
Constructor | Description |
---|---|
SettingLabelSelector() |
Creates a label selector that will populate responses with all of the getLabel(). |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getAcceptDateTime()
Gets the date time for the request query. |
List<Setting |
getFields()
Gets the fields on ConfigurationSnapshot to return from the GET request. |
String |
getNameFilter()
Gets the labels used to filter settings based on their getLabel() in the service. |
Setting |
setAcceptDatetime(OffsetDateTime datetime)
If set, then labels will be retrieved as they existed at the provided datetime. |
Setting |
setFields(SettingLabelFields[] fields)
Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot. |
Setting |
setFields(List<SettingLabelFields> fields)
Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot. |
Setting |
setNameFilter(String nameFilter)
Sets the expression to filter getLabel() on for the request. |
Methods inherited from java.lang.Object
Constructor Details
SettingLabelSelector
public SettingLabelSelector()
Creates a label selector that will populate responses with all of the getLabel().
Method Details
getAcceptDateTime
public OffsetDateTime getAcceptDateTime()
Gets the date time for the request query. When the query is performed, if acceptDateTime
is set, the labels at that point in time is returned.
Returns:
getFields
public List
Gets the fields on ConfigurationSnapshot to return from the GET request. If none are set, the service returns the snapshot with all of their fields populated.
Returns:
getNameFilter
public String getNameFilter()
Gets the labels used to filter settings based on their getLabel() in the service. A filter for the name of the returned labels.
See Filtering for more information about these supported filters.
Returns:
setAcceptDatetime
public SettingLabelSelector setAcceptDatetime(OffsetDateTime datetime)
If set, then labels will be retrieved as they existed at the provided datetime.
Parameters:
Returns:
setFields
public SettingLabelSelector setFields(SettingLabelFields[] fields)
Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot. If none are set, the service returns snapshot with all of their fields populated.
Parameters:
Returns:
setFields
public SettingLabelSelector setFields(List
Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot. If none are set, the service returns snapshot with all of their fields populated.
Parameters:
Returns:
setNameFilter
public SettingLabelSelector setNameFilter(String nameFilter)
Sets the expression to filter getLabel() on for the request.
See Filtering for more information about these supported filters.
Parameters:
Returns:
Applies to
Azure SDK for Java