Compartilhar via


ListResponse<T> Class

  • java.lang.Object
    • com.microsoft.azure.storage.core.ListResponse<T>

Type Parameters

T

public class ListResponse<T>

RESERVED FOR INTERNAL USE. A class used to parse a list of objects.

Field Summary

Modifier and Type Field and Description
final String ENUMERATION_RESULTS
String marker

Stores the marker.

Integer maxResults

Stores the max results.

String nextMarker

Stores the next marker.

String prefix

Stores the prefix.

ArrayList<T> results

Holds the ArrayList<T> of results.

Method Summary

Modifier and Type Method and Description
String getMarker()

Gets the marker.

Integer getMaxResults()

Gets the max results.

String getNextMarker()

Gets the next marker.

String getPrefix()

Gets the prefix.

ArrayList<T> getResults()

Gets the ArrayList<T> of the results.

void setMarker(String marker)

Sets the marker.

void setMaxResults(Integer maxResults)

Sets the max results.

void setNextMarker(String nextMarker)

Sets the next marker.

void setPrefix(String prefix)

Sets the prefix.

void setResults(ArrayList<T> results)

Sets the ArrayList<T> of the results

Field Details

ENUMERATION_RESULTS

public static final String ENUMERATION_RESULTS= "EnumerationResults"

marker

protected String marker

Stores the marker.

maxResults

protected Integer maxResults

Stores the max results.

nextMarker

protected String nextMarker

Stores the next marker.

prefix

protected String prefix

Stores the prefix.

results

protected ArrayList<T> results= new ArrayList<T>()

Holds the ArrayList<T> of results.

Method Details

getMarker

public String getMarker()

Gets the marker.

Returns:

the marker

getMaxResults

public Integer getMaxResults()

Gets the max results.

Returns:

the max results

getNextMarker

public String getNextMarker()

Gets the next marker.

Returns:

the next marker

getPrefix

public String getPrefix()

Gets the prefix.

Returns:

the prefix

getResults

public ArrayList<T> getResults()

Gets the ArrayList<T> of the results.

Returns:

the ArrayList<T> of results

setMarker

public void setMarker(String marker)

Sets the marker.

Parameters:

marker - the marker to set

setMaxResults

public void setMaxResults(Integer maxResults)

Sets the max results.

Parameters:

maxResults - the maxResults to set

setNextMarker

public void setNextMarker(String nextMarker)

Sets the next marker.

Parameters:

nextMarker - the nextMarker to set

setPrefix

public void setPrefix(String prefix)

Sets the prefix.

Parameters:

prefix - the prefix to set

setResults

public void setResults(ArrayList<T> results)

Sets the ArrayList<T> of the results

Parameters:

results - the results to set

Applies to