public class KeyAttributes extends Object
Constructor and Description |
---|
KeyAttributes()
Default constructor The defaults for the properties are Enabled = null
NotBefore = null Expires = null Created = null Updated = null
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreated()
Optional.
|
Long |
getCreatedUnixTime() |
Boolean |
getEnabled()
Optional.
|
Date |
getExpires()
Optional.
|
Long |
getExpiresUnixTime() |
Date |
getNotBefore()
Optional.
|
Long |
getNotBeforeUnixTime() |
Date |
getUpdated()
Optional.
|
Long |
getUpdatedUnixTime() |
void |
setCreatedUnixTime(Long createdUnixTime) |
void |
setEnabled(Boolean enabledValue)
Optional.
|
void |
setExpires(Date expiresValue)
Optional.
|
void |
setExpiresUnixTime(Long expiresUnixTime) |
void |
setNotBefore(Date notBeforeValue)
Optional.
|
void |
setNotBeforeUnixTime(Long notBeforeUnixTime) |
void |
setUpdatedUnixTime(Long updatedUnixTime) |
String |
toString() |
public KeyAttributes()
public Boolean getEnabled()
public void setEnabled(Boolean enabledValue)
enabledValue
- The Enabled value.public Long getNotBeforeUnixTime()
public void setNotBeforeUnixTime(Long notBeforeUnixTime)
public Date getNotBefore()
public void setNotBefore(Date notBeforeValue)
notBeforeValue
- The NotBefore value.public Long getExpiresUnixTime()
public void setExpiresUnixTime(Long expiresUnixTime)
public Date getExpires()
public void setExpires(Date expiresValue)
expiresValue
- The Expires value.public Long getCreatedUnixTime()
public void setCreatedUnixTime(Long createdUnixTime)
public Date getCreated()
public Long getUpdatedUnixTime()
public void setUpdatedUnixTime(Long updatedUnixTime)
public Date getUpdated()
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/