KeyInfo Class
- java.
lang. Object - com.
azure. storage. blob. models. KeyInfo
- com.
Implements
public final class KeyInfo
implements XmlSerializable<KeyInfo>
Key information.
Constructor Summary
Constructor | Description |
---|---|
KeyInfo() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromXml(XmlReader xmlReader)
Reads an instance of Key |
static
Key |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Key |
String |
getExpiry()
Get the expiry property: The date-time the key expires in ISO 8601 UTC time. |
String |
getStart()
Get the start property: The date-time the key is active in ISO 8601 UTC time. |
Key |
setExpiry(String expiry)
Set the expiry property: The date-time the key expires in ISO 8601 UTC time. |
Key |
setStart(String start)
Set the start property: The date-time the key is active in ISO 8601 UTC time. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
KeyInfo
public KeyInfo()
Creates an instance of KeyInfo class.
Method Details
fromXml
public static KeyInfo fromXml(XmlReader xmlReader)
Reads an instance of KeyInfo from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static KeyInfo fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of KeyInfo from the XmlReader.
Parameters:
Returns:
Throws:
getExpiry
public String getExpiry()
Get the expiry property: The date-time the key expires in ISO 8601 UTC time.
Returns:
getStart
public String getStart()
Get the start property: The date-time the key is active in ISO 8601 UTC time.
Returns:
setExpiry
public KeyInfo setExpiry(String expiry)
Set the expiry property: The date-time the key expires in ISO 8601 UTC time.
Parameters:
Returns:
setStart
public KeyInfo setStart(String start)
Set the start property: The date-time the key is active in ISO 8601 UTC time.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws: