@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileSource extends Object implements Serializable, Cloneable, StructuredPojo
Contains details regarding the file source.
Constructor and Description |
---|
FileSource() |
Modifier and Type | Method and Description |
---|---|
FileSource |
clone() |
boolean |
equals(Object obj) |
String |
getContentDigest()
The digest of the file source.
|
String |
getContentType()
The type of content stored in the file source.
|
String |
getS3Uri()
The Amazon S3 URI for the file source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContentDigest(String contentDigest)
The digest of the file source.
|
void |
setContentType(String contentType)
The type of content stored in the file source.
|
void |
setS3Uri(String s3Uri)
The Amazon S3 URI for the file source.
|
String |
toString()
Returns a string representation of this object.
|
FileSource |
withContentDigest(String contentDigest)
The digest of the file source.
|
FileSource |
withContentType(String contentType)
The type of content stored in the file source.
|
FileSource |
withS3Uri(String s3Uri)
The Amazon S3 URI for the file source.
|
public void setContentType(String contentType)
The type of content stored in the file source.
contentType
- The type of content stored in the file source.public String getContentType()
The type of content stored in the file source.
public FileSource withContentType(String contentType)
The type of content stored in the file source.
contentType
- The type of content stored in the file source.public void setContentDigest(String contentDigest)
The digest of the file source.
contentDigest
- The digest of the file source.public String getContentDigest()
The digest of the file source.
public FileSource withContentDigest(String contentDigest)
The digest of the file source.
contentDigest
- The digest of the file source.public void setS3Uri(String s3Uri)
The Amazon S3 URI for the file source.
s3Uri
- The Amazon S3 URI for the file source.public String getS3Uri()
The Amazon S3 URI for the file source.
public FileSource withS3Uri(String s3Uri)
The Amazon S3 URI for the file source.
s3Uri
- The Amazon S3 URI for the file source.public String toString()
toString
in class Object
Object.toString()
public FileSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.