public static final class TLfnResourceMetadata.TLfnResourceMetadataBuilder extends Object
TLfnResourceMetadata
instances.Modifier and Type | Method and Description |
---|---|
TLfnResourceMetadata |
build()
Builds the resource metadata with the set parameters.
|
TLfnResourceMetadata.TLfnResourceMetadataBuilder |
contentType(String aContentType)
Specifies the content type of the resource.
|
TLfnResourceMetadata.TLfnResourceMetadataBuilder |
creationTime(Instant aCreationTime)
Specifies the time at which the resource was created.
|
TLfnResourceMetadata.TLfnResourceMetadataBuilder |
lastModifiedTime(Instant aLastModifiedTime)
Specifies the time at which the resource was last modified.
|
TLfnResourceMetadata.TLfnResourceMetadataBuilder |
size(Long aSize)
Specifies the size of the resource in bytes.
|
public TLfnResourceMetadata.TLfnResourceMetadataBuilder creationTime(Instant aCreationTime)
aCreationTime
- the creation timepublic TLfnResourceMetadata.TLfnResourceMetadataBuilder lastModifiedTime(Instant aLastModifiedTime)
aLastModifiedTime
- the last-modified timepublic TLfnResourceMetadata.TLfnResourceMetadataBuilder size(Long aSize)
aSize
- the size in bytespublic TLfnResourceMetadata.TLfnResourceMetadataBuilder contentType(String aContentType)
aContentType
- the content typepublic TLfnResourceMetadata build()