public class CMAUpload extends CMAResource
Constructor and Description |
---|
CMAUpload()
create an upload
|
Modifier and Type | Method and Description |
---|---|
CMAUpload |
setId(java.lang.String id)
Sets this resources id.
|
CMAUpload |
setSpaceId(java.lang.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(java.lang.Integer version)
Sets the version of this resource.
|
java.lang.String |
toString() |
getEnvironmentId, getId, getSpaceId, getSystem, getVersion, isArchived, isPublished, setEnvironmentId
public CMAUpload setSystem(CMASystem system)
setSystem
in class CMAResource
system
- sets the system property.public CMAUpload setId(java.lang.String id)
setId
in class CMAResource
id
- to be setpublic CMAUpload setVersion(java.lang.Integer version)
setVersion
in class CMAResource
version
- the version number to be set.public CMAUpload setSpaceId(java.lang.String spaceId)
setSpaceId
in class CMAResource
spaceId
- the id to be set.public java.lang.String toString()
toString
in class CMAResource
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.