com.baidubce.services.bos.model
Class Resource

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

public class Resource
extends Object

resources of Bucket Acl. Resources Affected by ACL Configuration Items. Indicates to set access to the resources specified by resource.


Constructor Summary
Resource()
          Constructs a void constructor for Resource.
Resource(List<String> resource)
          Constructs a new Resource object for Resource.
 
Method Summary
 List<String> getResource()
          Gets the resources of Bucket Acl.
 void setResource(List<String> resource)
          Sets the resources of Bucket Acl.
 String toString()
           
 Resource withResource(List<String> resource)
          Sets the resources of Bucket Acl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Resource

public Resource()
Constructs a void constructor for Resource.


Resource

public Resource(List<String> resource)
Constructs a new Resource object for Resource.

Parameters:
rule -
Method Detail

getResource

public List<String> getResource()
Gets the resources of Bucket Acl.

Returns:
the resources of Bucket Acl.

setResource

public void setResource(List<String> resource)
Sets the resources of Bucket Acl.

Parameters:
resource - The resources of Bucket Acl.

withResource

public Resource withResource(List<String> resource)
Sets the resources of Bucket Acl.

Parameters:
resource - The resources of Bucket Acl.
Returns:
this Object.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.