public class CMAApiKey extends CMAResource
| Constructor and Description |
|---|
CMAApiKey()
Create a new api key.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccessToken() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
CMALink |
getPreviewApiKey() |
CMAApiKey |
setDescription(java.lang.String description)
Update the description of this key.
|
CMAApiKey |
setName(java.lang.String name)
Update the name of the key.
|
java.lang.String |
toString() |
getId, getSpaceId, getSystem, getVersion, isArchived, isPublished, setId, setSpaceId, setSystem, setVersionpublic java.lang.String getName()
public CMAApiKey setName(java.lang.String name)
name - new name to be used.public java.lang.String getDescription()
public CMAApiKey setDescription(java.lang.String description)
description - to be changed to.public java.lang.String getAccessToken()
public CMALink getPreviewApiKey()
public java.lang.String toString()
toString in class CMAResourceCopyright © 2018 Contentful, GmbH.. All Rights Reserved.