public class Encoding extends BitmovinResource
Constructor and Description |
---|
Encoding() |
Modifier and Type | Method and Description |
---|---|
Encoding |
addFallbackCloudRegionsItem(CloudRegion fallbackCloudRegionsItem) |
Encoding |
addLabelsItem(String labelsItem) |
boolean |
equals(Object o) |
CloudRegion |
getCloudRegion()
Get cloudRegion
|
String |
getEncoderVersion()
Version of the encoder
|
List<CloudRegion> |
getFallbackCloudRegions()
Specify a list of regions which are used in case the preferred region is down.
|
InfrastructureSettings |
getInfrastructure()
Get infrastructure
|
String |
getInfrastructureId()
Define an external infrastructure to run the encoding on.
|
List<String> |
getLabels()
You may pass a list of groups associated with this encoding.
|
CloudRegion |
getSelectedCloudRegion()
Contains the region which was selected when cloudregion:AUTO was specified
|
String |
getSelectedEncoderVersion()
Will be set to the encoder version that was actually used for the encoding.
|
EncodingMode |
getSelectedEncodingMode()
Will be set to the encoding mode that was actually used for the encoding.
|
Status |
getStatus()
The current status of the encoding.
|
int |
hashCode() |
void |
setCloudRegion(CloudRegion cloudRegion)
Set cloudRegion
|
void |
setEncoderVersion(String encoderVersion)
Version of the encoder
|
void |
setFallbackCloudRegions(List<CloudRegion> fallbackCloudRegions)
Specify a list of regions which are used in case the preferred region is down.
|
void |
setInfrastructure(InfrastructureSettings infrastructure)
Set infrastructure
|
void |
setInfrastructureId(String infrastructureId)
Define an external infrastructure to run the encoding on.
|
void |
setLabels(List<String> labels)
You may pass a list of groups associated with this encoding.
|
String |
toString() |
getCreatedAt, getCustomData, getDescription, getModifiedAt, getName, putCustomDataItem, setCustomData, setDescription, setName
getId
public CloudRegion getCloudRegion()
public void setCloudRegion(CloudRegion cloudRegion)
cloudRegion
- public Encoding addFallbackCloudRegionsItem(CloudRegion fallbackCloudRegionsItem)
public List<CloudRegion> getFallbackCloudRegions()
public void setFallbackCloudRegions(List<CloudRegion> fallbackCloudRegions)
fallbackCloudRegions
- Specify a list of regions which are used in case the preferred region is down. Currently there are several restrictions. - The region has to be specific or AUTO - The region has to be for the same cloud provider as the default one - You can only configure at most 3 fallback regionspublic String getEncoderVersion()
public void setEncoderVersion(String encoderVersion)
encoderVersion
- Version of the encoderpublic String getInfrastructureId()
public void setInfrastructureId(String infrastructureId)
infrastructureId
- Define an external infrastructure to run the encoding on. Note If you set this value, the `cloudRegion` must be 'EXTERNAL'.public InfrastructureSettings getInfrastructure()
public void setInfrastructure(InfrastructureSettings infrastructure)
infrastructure
- public String getSelectedEncoderVersion()
public EncodingMode getSelectedEncodingMode()
public CloudRegion getSelectedCloudRegion()
public Status getStatus()
public List<String> getLabels()
public void setLabels(List<String> labels)
labels
- You may pass a list of groups associated with this encoding. This will enable you to group results in the statistics resourcepublic boolean equals(Object o)
equals
in class BitmovinResource
public int hashCode()
hashCode
in class BitmovinResource
public String toString()
toString
in class BitmovinResource
Copyright © 2020. All rights reserved.