/** * Returns an enumerable collection of shares for this File service client. * * @return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represent the * shares for this client. */ @DoesServiceRequest public Iterable<CloudFileShare> listShares() { return this.listSharesWithPrefix(null, EnumSet.noneOf(ShareListingDetails.class), null /* options */, null /* opContext */); }
/** * Returns an enumerable collection of shares whose names begin with the specified prefix for this File service * client. * * @param prefix * A <code>String</code> that represents the share name prefix. * * @return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represent the * shares for this client whose names begin with the specified prefix. */ @DoesServiceRequest public Iterable<CloudFileShare> listShares(final String prefix) { return this.listSharesWithPrefix(prefix, EnumSet.noneOf(ShareListingDetails.class), null /* options */, null /* opContext */); }
/** * Returns an enumerable collection of shares for this File service client. * * @return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represent the * shares for this client. */ @DoesServiceRequest public Iterable<CloudFileShare> listShares() { return this.listSharesWithPrefix(null, EnumSet.noneOf(ShareListingDetails.class), null /* options */, null /* opContext */); }
/** * Returns an enumerable collection of shares whose names begin with the specified prefix for this File service * client. * * @param prefix * A <code>String</code> that represents the share name prefix. * * @return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represent the * shares for this client whose names begin with the specified prefix. */ @DoesServiceRequest public Iterable<CloudFileShare> listShares(final String prefix) { return this.listSharesWithPrefix(prefix, EnumSet.noneOf(ShareListingDetails.class), null /* options */, null /* opContext */); }
/** * Returns an enumerable collection of shares whose names begin with the specified prefix for this File * service client, using the specified details settings, request options, and operation context. * * @param prefix * A <code>String</code> that represents the share name prefix. * @param detailsIncluded * A <code>java.util.EnumSet</code> object that contains {@link ShareListingDetails} values that indicate * whether share snapshots and/or metadata will be returned. * @param options * A {@link FileRequestOptions} object that specifies any additional options for the request. Specifying * <code>null</code> will use the default request options from the associated service client ( * {@link CloudFileClient}). * @param opContext * An {@link OperationContext} object that represents the context for the current operation. This object * is used to track requests to the storage service, and to provide additional runtime information about * the operation. * * @return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represents the * shares for this client. */ @DoesServiceRequest public Iterable<CloudFileShare> listShares(final String prefix, final EnumSet<ShareListingDetails> detailsIncluded, final FileRequestOptions options, final OperationContext opContext) { return this.listSharesWithPrefix(prefix, detailsIncluded, options, opContext); }
/** * Returns an enumerable collection of shares whose names begin with the specified prefix for this File * service client, using the specified details settings, request options, and operation context. * * @param prefix * A <code>String</code> that represents the share name prefix. * @param detailsIncluded * A <code>java.util.EnumSet</code> object that contains {@link ShareListingDetails} values that indicate * whether share snapshots and/or metadata will be returned. * @param options * A {@link FileRequestOptions} object that specifies any additional options for the request. Specifying * <code>null</code> will use the default request options from the associated service client ( * {@link CloudFileClient}). * @param opContext * An {@link OperationContext} object that represents the context for the current operation. This object * is used to track requests to the storage service, and to provide additional runtime information about * the operation. * * @return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represents the * shares for this client. */ @DoesServiceRequest public Iterable<CloudFileShare> listShares(final String prefix, final EnumSet<ShareListingDetails> detailsIncluded, final FileRequestOptions options, final OperationContext opContext) { return this.listSharesWithPrefix(prefix, detailsIncluded, options, opContext); }