ObjectIdentifier Class
- java.
lang. Object - com.
microsoft. azure. keyvault. ObjectIdentifier
- com.
public class ObjectIdentifier
The key vault object identifier.
Field Summary
Modifier and Type | Field and Description |
---|---|
String | baseIdentifier |
String | identifier |
String | name |
String | vault |
String | version |
Constructor Summary
Constructor | Description |
---|---|
ObjectIdentifier() |
Constructor. |
ObjectIdentifier(String collection, String identifier) |
Constructor. |
ObjectIdentifier(String vault, String collection, String name) |
Constructor. |
ObjectIdentifier(String vault, String collection, String name, String version) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | baseIdentifier() |
String |
getFullAuthority(URI uri)
Gets full authority for a URL by appending port to the url authority. |
String | identifier() |
boolean |
isObjectIdentifier(String collection, String identifier)
Verifies whether the identifier belongs to a key vault object. |
String | name() |
String | toString() |
String | vault() |
String |
verifyNonEmpty(String value, String argName)
Verifies a value is null or empty. Returns the value if non-empty and throws exception if empty. |
String | version() |
Field Details
baseIdentifier
protected String baseIdentifier
identifier
protected String identifier
name
protected String name
vault
protected String vault
version
protected String version
Constructor Details
ObjectIdentifier
protected ObjectIdentifier()
Constructor.
ObjectIdentifier
protected ObjectIdentifier(String collection, String identifier)
Constructor.
Parameters:
ObjectIdentifier
protected ObjectIdentifier(String vault, String collection, String name)
Constructor.
Parameters:
ObjectIdentifier
protected ObjectIdentifier(String vault, String collection, String name, String version)
Constructor.
Parameters:
Method Details
baseIdentifier
public String baseIdentifier()
Returns:
getFullAuthority
protected String getFullAuthority(URI uri)
Gets full authority for a URL by appending port to the url authority.
Parameters:
Returns:
identifier
public String identifier()
Returns:
isObjectIdentifier
protected static boolean isObjectIdentifier(String collection, String identifier)
Verifies whether the identifier belongs to a key vault object.
Parameters:
Returns:
name
public String name()
Returns:
toString
public String toString()
vault
public String vault()
Returns:
verifyNonEmpty
protected static String verifyNonEmpty(String value, String argName)
Verifies a value is null or empty. Returns the value if non-empty and throws exception if empty.
Parameters:
Returns:
version
public String version()
Returns:
Applies to
Azure SDK for Java