KeyInfo Class
- java.
lang. Object - com.
azure. storage. blob. models. KeyInfo
- com.
public final class KeyInfo
Key information.
Constructor Summary
Constructor | Description |
---|---|
KeyInfo() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
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. |
Methods inherited from java.lang.Object
Constructor Details
KeyInfo
public KeyInfo()
Creates an instance of KeyInfo class.
Method Details
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for