SnapshotSelector Class
- java.
lang. Object - com.
azure. data. appconfiguration. models. SnapshotSelector
- com.
public final class SnapshotSelector
Snapshot selector, the optional bag
Constructor Summary
Constructor | Description |
---|---|
SnapshotSelector() |
Creates an instance of SnapshotSelector. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Snapshot |
getFields()
Gets the fields on ConfigurationSnapshot to return from the GET request. |
String |
getNameFilter()
Gets the snapshot name filter |
List<Configuration |
getStatus()
Gets the snapshot status |
Snapshot |
setFields(SnapshotFields[] fields)
Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot. |
Snapshot |
setFields(List<SnapshotFields> fields)
Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot. |
Snapshot |
setNameFilter(String nameFilter)
Sets the snapshot name filter. |
Snapshot |
setStatus(ConfigurationSnapshotStatus[] status)
Sets the snapshot status. |
Snapshot |
setStatus(List<ConfigurationSnapshotStatus> status)
Sets the snapshot status. |
String | toString() |
Methods inherited from java.lang.Object
Constructor Details
SnapshotSelector
public SnapshotSelector()
Creates an instance of SnapshotSelector.
Method Details
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 snapshot name filter
Returns:
getStatus
public List
Gets the snapshot status
Returns:
setFields
public SnapshotSelector setFields(SnapshotFields[] 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 SnapshotSelector 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 SnapshotSelector setNameFilter(String nameFilter)
Sets the snapshot name filter.
Parameters:
Returns:
setStatus
public SnapshotSelector setStatus(ConfigurationSnapshotStatus[] status)
Sets the snapshot status. Used to filter returned snapshots by their status properties.
Parameters:
Returns:
setStatus
public SnapshotSelector setStatus(List
Sets the snapshot status. Used to filter returned snapshots by their status properties.
Parameters:
Returns:
toString
public String toString()
Overrides:
SnapshotSelector.toString()Applies to
Azure SDK for Java
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de