public class ResourceNamer extends Object
| Constructor and Description |
|---|
ResourceNamer(String name)
Creates a ResourceNameGenerator that prefixes its strings with the name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
randomName(String prefix,
int maxLen)
Gets a random name.
|
String |
randomUuid()
Creates a random UUID.
|
public ResourceNamer(String name)
name - The prefix for generated strings.public String randomName(String prefix, int maxLen)
prefix - the prefix to be used if possiblemaxLen - the max length for the random generated namepublic String randomUuid()
Copyright © 2020 Microsoft Corporation. All rights reserved.