Class SnapshotSelector
java.lang.Object
com.azure.data.appconfiguration.models.SnapshotSelector
Snapshot selector, the optional bag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the fields onConfigurationSnapshotto return from the GET request.Gets the snapshot name filterGets the snapshot statussetFields(SnapshotFields... fields) Sets fields that will be returned in the response corresponding to properties inConfigurationSnapshot.setFields(List<SnapshotFields> fields) Sets fields that will be returned in the response corresponding to properties inConfigurationSnapshot.setNameFilter(String nameFilter) Sets the snapshot name filter.setStatus(ConfigurationSnapshotStatus... status) Sets the snapshot status.setStatus(List<ConfigurationSnapshotStatus> status) Sets the snapshot status.toString()
-
Constructor Details
-
SnapshotSelector
public SnapshotSelector()Creates an instance ofSnapshotSelector.
-
-
Method Details
-
getNameFilter
Gets the snapshot name filter- Returns:
- The snapshot name filter.
-
setNameFilter
Sets the snapshot name filter.- Parameters:
nameFilter- the snapshot name filter.- Returns:
- The updated SnapshotSelector object
-
getStatus
Gets the snapshot status- Returns:
- The snapshot status.
-
setStatus
Sets the snapshot status. Used to filter returned snapshots by their status properties.- Parameters:
status- the snapshot status.- Returns:
- The updated SnapshotSelector object
-
setStatus
Sets the snapshot status. Used to filter returned snapshots by their status properties.- Parameters:
status- the snapshot status.- Returns:
- The updated SnapshotSelector object
-
getFields
Gets the fields onConfigurationSnapshotto return from the GET request. If none are set, the service returns the snapshot with all of their fields populated.- Returns:
- The set of
ConfigurationSnapshotfields to return for a GET request.
-
setFields
Sets fields that will be returned in the response corresponding to properties inConfigurationSnapshot. If none are set, the service returns snapshot with all of their fields populated.- Parameters:
fields- The fields to select for the query response. If none are set, the service will return the snapshot with a default set of properties.- Returns:
- The updated SnapshotSelector object.
-
setFields
Sets fields that will be returned in the response corresponding to properties inConfigurationSnapshot. If none are set, the service returns snapshot with all of their fields populated.- Parameters:
fields- The fields to select for the query response. If none are set, the service will return the snapshot with a default set of properties.- Returns:
- The updated SnapshotSelector object.
-
toString
-