@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Target extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a crawler target in AWS S3.
Constructor and Description |
---|
S3Target() |
Modifier and Type | Method and Description |
---|---|
S3Target |
clone() |
boolean |
equals(Object obj) |
List<String> |
getExclusions()
A list of S3 objects to exclude from the crawl.
|
String |
getPath()
The path to the S3 target.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExclusions(Collection<String> exclusions)
A list of S3 objects to exclude from the crawl.
|
void |
setPath(String path)
The path to the S3 target.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3Target |
withExclusions(Collection<String> exclusions)
A list of S3 objects to exclude from the crawl.
|
S3Target |
withExclusions(String... exclusions)
A list of S3 objects to exclude from the crawl.
|
S3Target |
withPath(String path)
The path to the S3 target.
|
public void setPath(String path)
The path to the S3 target.
path
- The path to the S3 target.public String getPath()
The path to the S3 target.
public S3Target withPath(String path)
The path to the S3 target.
path
- The path to the S3 target.public List<String> getExclusions()
A list of S3 objects to exclude from the crawl.
public void setExclusions(Collection<String> exclusions)
A list of S3 objects to exclude from the crawl.
exclusions
- A list of S3 objects to exclude from the crawl.public S3Target withExclusions(String... exclusions)
A list of S3 objects to exclude from the crawl.
NOTE: This method appends the values to the existing list (if any). Use
setExclusions(java.util.Collection)
or withExclusions(java.util.Collection)
if you want to
override the existing values.
exclusions
- A list of S3 objects to exclude from the crawl.public S3Target withExclusions(Collection<String> exclusions)
A list of S3 objects to exclude from the crawl.
exclusions
- A list of S3 objects to exclude from the crawl.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.