Class Attributes
- java.lang.Object
-
- com.microsoft.azure.keyvault.models.Attributes
-
- Direct Known Subclasses:
CertificateAttributes
,KeyAttributes
,SecretAttributes
public class Attributes extends Object
The object attributes managed by the KeyVault service.
-
-
Constructor Summary
Constructors Constructor Description Attributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTime
created()
Get the created value.Boolean
enabled()
Get the enabled value.org.joda.time.DateTime
expires()
Get the expires value.org.joda.time.DateTime
notBefore()
Get the notBefore value.org.joda.time.DateTime
updated()
Get the updated value.Attributes
withEnabled(Boolean enabled)
Set the enabled value.Attributes
withExpires(org.joda.time.DateTime expires)
Set the expires value.Attributes
withNotBefore(org.joda.time.DateTime notBefore)
Set the notBefore value.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled value.- Returns:
- the enabled value
-
withEnabled
public Attributes withEnabled(Boolean enabled)
Set the enabled value.- Parameters:
enabled
- the enabled value to set- Returns:
- the Attributes object itself.
-
notBefore
public org.joda.time.DateTime notBefore()
Get the notBefore value.- Returns:
- the notBefore value
-
withNotBefore
public Attributes withNotBefore(org.joda.time.DateTime notBefore)
Set the notBefore value.- Parameters:
notBefore
- the notBefore value to set- Returns:
- the Attributes object itself.
-
expires
public org.joda.time.DateTime expires()
Get the expires value.- Returns:
- the expires value
-
withExpires
public Attributes withExpires(org.joda.time.DateTime expires)
Set the expires value.- Parameters:
expires
- the expires value to set- Returns:
- the Attributes object itself.
-
created
public org.joda.time.DateTime created()
Get the created value.- Returns:
- the created value
-
updated
public org.joda.time.DateTime updated()
Get the updated value.- Returns:
- the updated value
-
-