SnapshotSelector Class

  • java.lang.Object
    • com.azure.data.appconfiguration.models.SnapshotSelector

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<SnapshotFields> getFields()

Gets the fields on ConfigurationSnapshot to return from the GET request.

String getNameFilter()

Gets the snapshot name filter

List<ConfigurationSnapshotStatus> getStatus()

Gets the snapshot status

SnapshotSelector setFields(SnapshotFields[] fields)

Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot.

SnapshotSelector setFields(List<SnapshotFields> fields)

Sets fields that will be returned in the response corresponding to properties in ConfigurationSnapshot.

SnapshotSelector setNameFilter(String nameFilter)

Sets the snapshot name filter.

SnapshotSelector setStatus(ConfigurationSnapshotStatus[] status)

Sets the snapshot status.

SnapshotSelector 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 getFields()

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:

The set of ConfigurationSnapshot fields to return for a GET request.

getNameFilter

public String getNameFilter()

Gets the snapshot name filter

Returns:

The snapshot name filter.

getStatus

public List getStatus()

Gets the snapshot status

Returns:

The snapshot status.

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:

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

public SnapshotSelector setFields(List 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:

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.

setNameFilter

public SnapshotSelector setNameFilter(String nameFilter)

Sets the snapshot name filter.

Parameters:

nameFilter - the snapshot name filter.

Returns:

The updated SnapshotSelector object

setStatus

public SnapshotSelector setStatus(ConfigurationSnapshotStatus[] status)

Sets the snapshot status. Used to filter returned snapshots by their status properties.

Parameters:

status - the snapshot status.

Returns:

The updated SnapshotSelector object

setStatus

public SnapshotSelector setStatus(List status)

Sets the snapshot status. Used to filter returned snapshots by their status properties.

Parameters:

status - the snapshot status.

Returns:

The updated SnapshotSelector object

toString

public String toString()

Overrides:

SnapshotSelector.toString()

Applies to