public class Warning
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.
Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
The code of the cross-regional warning.
|
private java.lang.String |
message
The message explaining what resources are in a different region from the
pipeline.
|
Constructor and Description |
---|
Warning() |
Modifier and Type | Method and Description |
---|---|
Warning |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The code of the cross-regional warning.
|
java.lang.String |
getMessage()
The message explaining what resources are in a different region from the
pipeline.
|
int |
hashCode() |
void |
setCode(java.lang.String code)
The code of the cross-regional warning.
|
void |
setMessage(java.lang.String message)
The message explaining what resources are in a different region from the
pipeline.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Warning |
withCode(java.lang.String code)
The code of the cross-regional warning.
|
Warning |
withMessage(java.lang.String message)
The message explaining what resources are in a different region from the
pipeline.
|
private java.lang.String code
The code of the cross-regional warning.
private java.lang.String message
The message explaining what resources are in a different region from the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
public void setCode(java.lang.String code)
The code of the cross-regional warning.
code
- The code of the cross-regional warning.public java.lang.String getCode()
The code of the cross-regional warning.
public Warning withCode(java.lang.String code)
The code of the cross-regional warning.
code
- The code of the cross-regional warning.public void setMessage(java.lang.String message)
The message explaining what resources are in a different region from the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
message
- The message explaining what resources are in a different region
from the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
public java.lang.String getMessage()
The message explaining what resources are in a different region from the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
public Warning withMessage(java.lang.String message)
The message explaining what resources are in a different region from the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
message
- The message explaining what resources are in a different region
from the pipeline.
Note: AWS KMS keys must be in the same region as the pipeline.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Warning clone()
clone
in class java.lang.Object