com.baidubce.services.bos.model
Class Destination

java.lang.Object
  extended by com.baidubce.services.bos.model.Destination

public class Destination
extends Object

The config of dest replication for bucket replication


Constructor Summary
Destination()
           
 
Method Summary
 String getBucket()
          Gets the dest replication bucket name
 String getStorageClass()
          Gets the dest bucket's object storageclass
 void setBucket(String bucket)
          Sets the dest replication bucket name
 void setStorageClass(String storageClass)
          Sets the dest bucket's object storageclass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Destination

public Destination()
Method Detail

getBucket

public String getBucket()
Gets the dest replication bucket name

Returns:

setBucket

public void setBucket(String bucket)
Sets the dest replication bucket name

Parameters:
bucket -

getStorageClass

public String getStorageClass()
Gets the dest bucket's object storageclass

Returns:

setStorageClass

public void setStorageClass(String storageClass)
Sets the dest bucket's object storageclass

Parameters:
storageClass -


Copyright © 2020. All rights reserved.