public class AsyncFetchTaskConfiguration extends Object
构造器和说明 |
---|
AsyncFetchTaskConfiguration() |
限定符和类型 | 方法和说明 |
---|---|
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)
public AsyncFetchTaskConfiguration withUrl(String url)
public String getObjectName()
public void setObjectName(String objectName)
public AsyncFetchTaskConfiguration withObjectName(String objectName)
public String getHost()
public void setHost(String host)
public AsyncFetchTaskConfiguration withHost(String host)
public String getContentMd5()
public void setContentMd5(String contentMd5)
public AsyncFetchTaskConfiguration withContentMd5(String contentMd5)
public String getCallback()
public void setCallback(String callback)
public AsyncFetchTaskConfiguration withCallback(String callback)
public Boolean getIgnoreSameKey()
public void setIgnoreSameKey(Boolean ignoreSameKey)
public AsyncFetchTaskConfiguration withIgnoreSameKey(Boolean ignoreSameKey)
Copyright © 2019. All Rights Reserved.