@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PathFormat extends Object implements Serializable, Cloneable, StructuredPojo
The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.
| Constructor and Description |
|---|
PathFormat() |
| Modifier and Type | Method and Description |
|---|---|
PathFormat |
clone() |
boolean |
equals(Object obj) |
List<String> |
getObjectPrefixes()
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setObjectPrefixes(Collection<String> objectPrefixes)
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
PathFormat |
withObjectPrefixes(Collection<String> objectPrefixes)
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket.
|
PathFormat |
withObjectPrefixes(String... objectPrefixes)
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket.
|
public List<String> getObjectPrefixes()
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.
public void setObjectPrefixes(Collection<String> objectPrefixes)
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.
objectPrefixes - A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you
only want Lex to read the files under this set of sub-folders.public PathFormat withObjectPrefixes(String... objectPrefixes)
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.
NOTE: This method appends the values to the existing list (if any). Use
setObjectPrefixes(java.util.Collection) or withObjectPrefixes(java.util.Collection) if you want
to override the existing values.
objectPrefixes - A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you
only want Lex to read the files under this set of sub-folders.public PathFormat withObjectPrefixes(Collection<String> objectPrefixes)
A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.
objectPrefixes - A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you
only want Lex to read the files under this set of sub-folders.public String toString()
toString in class ObjectObject.toString()public PathFormat clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.