Class Warning
- All Implemented Interfaces:
Serializable
,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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The code of the cross-regional warning.The message explaining what resources are in a different region from the pipeline.int
hashCode()
void
The code of the cross-regional warning.void
setMessage
(String message) The message explaining what resources are in a different region from the pipeline.toString()
Returns a string representation of this object; useful for testing and debugging.The code of the cross-regional warning.withMessage
(String message) The message explaining what resources are in a different region from the pipeline.
-
Constructor Details
-
Warning
public Warning()
-
-
Method Details
-
setCode
The code of the cross-regional warning.
- Parameters:
code
- The code of the cross-regional warning.
-
getCode
The code of the cross-regional warning.
- Returns:
- The code of the cross-regional warning.
-
withCode
The code of the cross-regional warning.
- Parameters:
code
- The code of the cross-regional warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withMessage
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-