public class AsyncFetchTaskConfiguration extends Object
Constructor and Description |
---|
AsyncFetchTaskConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getCallback()
Gets the callback that you specified.
|
String |
getContentMd5()
Gets the contentMd5 that you specified.
|
String |
getHost()
Gets the host that you specified.
|
Boolean |
getIgnoreSameKey()
Gets the ignoreSameKey option that you specified.
|
String |
getObjectName()
Gets the destination object name
|
String |
getUrl()
Gets the source object url.
|
void |
setCallback(String callback)
Sets the callback after fetch object success.
|
void |
setContentMd5(String contentMd5)
Sets the contentMd5 of the source object, it also can be null or empty.
|
void |
setHost(String host)
Sets the host that you want to fetch, and it also can be null or empty.
|
void |
setIgnoreSameKey(Boolean ignoreSameKey)
Sets the optional operation of ignore the task or not when the destination object already exists,
true means ignore the task and false means it allows object coving.
|
void |
setObjectName(String objectName)
Sets the destination object name
|
void |
setUrl(String url)
Sets the source object url.
|
AsyncFetchTaskConfiguration |
withCallback(String callback)
Sets the callback after fetch object success, and returns the updated AsyncFetchTaskConfiguration object.
|
AsyncFetchTaskConfiguration |
withContentMd5(String contentMd5)
Sets the contentMd5 of the source file, it also can be null or empty,
and returns the updated AsyncFetchTaskConfiguration object.
|
AsyncFetchTaskConfiguration |
withHost(String host)
Sets the host that you want to fetch, it also can be null or empty,
and returns the updated AsyncFetchTaskConfiguration object.
|
AsyncFetchTaskConfiguration |
withIgnoreSameKey(Boolean ignoreSameKey)
Sets the optional operation of ignore the task or not when the destination object already exists,
true means ignore the task and false means it allows object coving,
and returns the updated AsyncFetchTaskConfiguration object.
|
AsyncFetchTaskConfiguration |
withObjectName(String objectName)
Sets the destination object name and returns the updated AsyncFetchTaskConfiguration object.
|
AsyncFetchTaskConfiguration |
withUrl(String url)
Sets the source object url and returns the updated AsyncFetchTaskConfiguration object.
|
public String getUrl()
public void setUrl(String url)
url
- the object url.public AsyncFetchTaskConfiguration withUrl(String url)
url
- object url.AsyncFetchTaskConfiguration
instance.public String getObjectName()
public void setObjectName(String objectName)
objectName
- the object name.public AsyncFetchTaskConfiguration withObjectName(String objectName)
objectName
- object name.AsyncFetchTaskConfiguration
instance.public String getHost()
public void setHost(String host)
host
- the host.public AsyncFetchTaskConfiguration withHost(String host)
host
- host.AsyncFetchTaskConfiguration
instance.public String getContentMd5()
public void setContentMd5(String contentMd5)
contentMd5
- the content md5.public AsyncFetchTaskConfiguration withContentMd5(String contentMd5)
contentMd5
- the content md5.AsyncFetchTaskConfiguration
instance.public String getCallback()
public void setCallback(String callback)
callback
- call back.public AsyncFetchTaskConfiguration withCallback(String callback)
callback
- call back.AsyncFetchTaskConfiguration
instance.public Boolean getIgnoreSameKey()
public void setIgnoreSameKey(Boolean ignoreSameKey)
ignoreSameKey
- ignore same key.public AsyncFetchTaskConfiguration withIgnoreSameKey(Boolean ignoreSameKey)
ignoreSameKey
- ignore same key.AsyncFetchTaskConfiguration
instance.Copyright © 2023. All Rights Reserved.