@Generated(value="software.amazon.awssdk:codegen") public final class Warning extends Object implements StructuredPojo, ToCopyableBuilder<Warning.Builder,Warning>
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 | Class and Description |
---|---|
static interface |
Warning.Builder |
Modifier and Type | Method and Description |
---|---|
static Warning.Builder |
builder() |
String |
code()
The code of the cross-regional warning.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The message explaining what resources are in a different region from the pipeline.
|
static Class<? extends Warning.Builder> |
serializableBuilderClass() |
Warning.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String code()
The code of the cross-regional warning.
public String message()
The message explaining what resources are in a different region from the pipeline.
AWS KMS keys must be in the same region as the pipeline.
AWS KMS keys must be in the same region as the pipeline.
public Warning.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Warning.Builder,Warning>
public static Warning.Builder builder()
public static Class<? extends Warning.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.