public class CMAUpload extends CMAResource
| Constructor and Description |
|---|
CMAUpload()
create an upload
|
| Modifier and Type | Method and Description |
|---|---|
CMAUpload |
setEnvironmentId(String environmentId)
Convenience method for setting an environment id.
|
CMAUpload |
setId(String id)
Sets this resources id.
|
CMAUpload |
setSpaceId(String spaceId)
Set the space id in a chainable manner.
|
CMAUpload |
setSystem(CMASystem system)
Update the current instances system property to a complete new one.
|
CMAUpload |
setVersion(Integer version)
Sets the version of this resource.
|
String |
toString() |
getEnvironmentId, getId, getSpaceId, getSystem, getVersion, getVisibility, isArchived, isPublished, setVisibilitypublic CMAUpload setSystem(CMASystem system)
setSystem in class CMAResourcesystem - sets the system property.public CMAUpload setId(String id)
setId in class CMAResourceid - to be setpublic CMAUpload setVersion(Integer version)
setVersion in class CMAResourceversion - the version number to be set.public CMAUpload setSpaceId(String spaceId)
setSpaceId in class CMAResourcespaceId - the id to be set.public CMAUpload setEnvironmentId(String environmentId)
CMAResourcesetEnvironmentId in class CMAResourceenvironmentId - the id to be set.CMAResource for chaining.public String toString()
toString in class CMAResourceCopyright © 2026 Contentful, GmbH.. All rights reserved.