KeyInfo Class

  • java.lang.Object
    • com.azure.storage.blob.models.KeyInfo

public final class KeyInfo

Key information.

Constructor Summary

Constructor Description
KeyInfo()

Creates an instance of KeyInfo class.

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.

KeyInfo setExpiry(String expiry)

Set the expiry property: The date-time the key expires in ISO 8601 UTC time.

KeyInfo 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:

the expiry value.

getStart

public String getStart()

Get the start property: The date-time the key is active in ISO 8601 UTC time.

Returns:

the start value.

setExpiry

public KeyInfo setExpiry(String expiry)

Set the expiry property: The date-time the key expires in ISO 8601 UTC time.

Parameters:

expiry - the expiry value to set.

Returns:

the KeyInfo object itself.

setStart

public KeyInfo setStart(String start)

Set the start property: The date-time the key is active in ISO 8601 UTC time.

Parameters:

start - the start value to set.

Returns:

the KeyInfo object itself.

Applies to