public class OutputConfig
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getS3Bucket()
The name of the bucket your output will go to.
|
java.lang.String |
getS3Prefix()
The prefix of the object key that the output will be saved to.
|
int |
hashCode() |
void |
setS3Bucket(java.lang.String s3Bucket)
The name of the bucket your output will go to.
|
void |
setS3Prefix(java.lang.String s3Prefix)
The prefix of the object key that the output will be saved to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OutputConfig |
withS3Bucket(java.lang.String s3Bucket)
The name of the bucket your output will go to.
|
OutputConfig |
withS3Prefix(java.lang.String s3Prefix)
The prefix of the object key that the output will be saved to.
|
public java.lang.String getS3Bucket()
The name of the bucket your output will go to.
Constraints:
Length: 3 - 255
Pattern: [0-9A-Za-z\.\-_]*
The name of the bucket your output will go to.
public void setS3Bucket(java.lang.String s3Bucket)
The name of the bucket your output will go to.
Constraints:
Length: 3 - 255
Pattern: [0-9A-Za-z\.\-_]*
s3Bucket
- The name of the bucket your output will go to.
public OutputConfig withS3Bucket(java.lang.String s3Bucket)
The name of the bucket your output will go to.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [0-9A-Za-z\.\-_]*
s3Bucket
- The name of the bucket your output will go to.
public java.lang.String getS3Prefix()
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
Constraints:
Length: 1 - 1024
Pattern: .*\S.*
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
public void setS3Prefix(java.lang.String s3Prefix)
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
Constraints:
Length: 1 - 1024
Pattern: .*\S.*
s3Prefix
- 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(java.lang.String s3Prefix)
The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: .*\S.*
s3Prefix
- The prefix of the object key that the output will be saved to. When not enabled, the prefix will be “textract_output".
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.