Class Warning
- java.lang.Object
-
- com.amazonaws.services.elastictranscoder.model.Warning
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Warning extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Warning()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Warningclone()booleanequals(Object obj)StringgetCode()The code of the cross-regional warning.StringgetMessage()The message explaining what resources are in a different region from the pipeline.inthashCode()voidsetCode(String code)The code of the cross-regional warning.voidsetMessage(String message)The message explaining what resources are in a different region from the pipeline.StringtoString()Returns a string representation of this object; useful for testing and debugging.WarningwithCode(String code)The code of the cross-regional warning.WarningwithMessage(String message)The message explaining what resources are in a different region from the pipeline.
-
-
-
Method Detail
-
setCode
public void setCode(String code)
The code of the cross-regional warning.
- Parameters:
code- The code of the cross-regional warning.
-
getCode
public String getCode()
The code of the cross-regional warning.
- Returns:
- The code of the cross-regional warning.
-
withCode
public Warning withCode(String code)
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
public void setMessage(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.
- 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
public 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.
- 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
public Warning withMessage(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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-