@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OutputConfig extends Object implements Serializable, Cloneable, StructuredPojo
Sets whether or not your output will go to a user created bucket. Used to set the name of the bucket, and the prefix on the output file.
Constructor and Description |
---|
OutputConfig() |
Modifier and Type | Method and Description |
---|---|
OutputConfig |
clone() |
boolean |
equals(Object obj) |
String |
getS3Bucket()
The name of the bucket your output will go to.
|
String |
getS3Prefix()
The prefix of the object key that the output will be saved to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Bucket(String s3Bucket)
The name of the bucket your output will go to.
|
void |
setS3Prefix(String s3Prefix)
The prefix of the object key that the output will be saved to.
|
String |
toString()
Returns a string representation of this object.
|
OutputConfig |
withS3Bucket(String s3Bucket)
The name of the bucket your output will go to.
|
OutputConfig |
withS3Prefix(String s3Prefix)
The prefix of the object key that the output will be saved to.
|
public void setS3Bucket(String s3Bucket)
The name of the bucket your output will go to.
s3Bucket
- The name of the bucket your output will go to.public String getS3Bucket()
The name of the bucket your output will go to.
public OutputConfig withS3Bucket(String s3Bucket)
The name of the bucket your output will go to.
s3Bucket
- The name of the bucket your output will go to.public void setS3Prefix(String s3Prefix)
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
s3Prefix
- The prefix of the object key that the output will be saved to. When not enabled, the prefix will be
“textract_output".public String getS3Prefix()
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
public OutputConfig withS3Prefix(String s3Prefix)
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
s3Prefix
- The prefix of the object key that the output will be saved to. When not enabled, the prefix will be
“textract_output".public String toString()
toString
in class Object
Object.toString()
public OutputConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.