com.baidubce.services.bos.model
Class GetBucketReplicationResponse

java.lang.Object
  extended by com.baidubce.model.AbstractBceResponse
      extended by com.baidubce.services.bos.model.BosResponse
          extended by com.baidubce.services.bos.model.GetBucketReplicationResponse
All Implemented Interfaces:
Serializable

public class GetBucketReplicationResponse
extends BosResponse

Get Bucket Replication Response

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.baidubce.model.AbstractBceResponse
metadata
 
Constructor Summary
GetBucketReplicationResponse()
           
 
Method Summary
 long getCreateTime()
          Gets the replication create_time
 Destination getDestination()
          Gets the config of dest replication
 String getDestRegion()
          Gets the dest bucket region
 String getId()
          Gets the replication rule name
 String getReplicateDeletes()
          Gets the sync delete flags
 ReplicateHistory getReplicateHistory()
          Gets the history replication
 String[] getResource()
          Gets the replication prefix
 String getStatus()
          Gets the status of replication
 void setCreateTime(long createTime)
          Sets the replication create_time
 void setDestination(Destination destination)
          Sets the config of dest replication
 void setDestRegion(String destRegion)
          Sets the dest bucket region
 void setId(String id)
          Sets the replication rule name
 void setReplicateDeletes(String replicateDeletes)
          Sets the sync delete flags
 void setReplicateHistory(ReplicateHistory replicateHistory)
          Sets the history replication
 void setResource(String[] resource)
          Sets the replication prefix
 void setStatus(String status)
          Sets the status of replication
 String toString()
           
 
Methods inherited from class com.baidubce.services.bos.model.BosResponse
getMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetBucketReplicationResponse

public GetBucketReplicationResponse()
Method Detail

getId

public String getId()
Gets the replication rule name

Returns:

setId

public void setId(String id)
Sets the replication rule name

Parameters:
id -

getStatus

public String getStatus()
Gets the status of replication

Returns:

setStatus

public void setStatus(String status)
Sets the status of replication

Parameters:
status -

getResource

public String[] getResource()
Gets the replication prefix

Returns:

setResource

public void setResource(String[] resource)
Sets the replication prefix

Parameters:
resource -

getDestination

public Destination getDestination()
Gets the config of dest replication

Returns:

setDestination

public void setDestination(Destination destination)
Sets the config of dest replication

Parameters:
destination -

getReplicateHistory

public ReplicateHistory getReplicateHistory()
Gets the history replication

Returns:

setReplicateHistory

public void setReplicateHistory(ReplicateHistory replicateHistory)
Sets the history replication

Parameters:
replicateHistory -

getReplicateDeletes

public String getReplicateDeletes()
Gets the sync delete flags

Returns:

setReplicateDeletes

public void setReplicateDeletes(String replicateDeletes)
Sets the sync delete flags

Parameters:
replicateDeletes -

getCreateTime

public long getCreateTime()
Gets the replication create_time

Returns:

setCreateTime

public void setCreateTime(long createTime)
Sets the replication create_time

Parameters:
createTime -

getDestRegion

public String getDestRegion()
Gets the dest bucket region

Returns:

setDestRegion

public void setDestRegion(String destRegion)
Sets the dest bucket region

Parameters:
destRegion -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2020. All rights reserved.