public class BucketLoggingConfiguration extends HeaderResponse
Constructor and Description |
---|
BucketLoggingConfiguration() |
BucketLoggingConfiguration(String targetBucketName,
String logfilePrefix)
构造函数
|
Modifier and Type | Method and Description |
---|---|
void |
addTargetGrant(GrantAndPermission targetGrant)
添加日志对象权限
|
String |
getAgency()
设置委托名字
|
String |
getLogfilePrefix()
获取日志对象名前缀
|
String |
getTargetBucketName()
获取日志目标桶
|
GrantAndPermission[] |
getTargetGrants()
获取日志对象权限组
|
boolean |
isLoggingEnabled()
是否开启桶日志标识
|
void |
setAgency(String agency)
获取委托名字
|
void |
setLogfilePrefix(String logfilePrefix)
设置日志对象名前缀
|
void |
setTargetBucketName(String targetBucketName)
设置日志目标桶
|
void |
setTargetGrants(GrantAndPermission[] targetGrants)
设置日志对象权限组
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCode
public String getTargetBucketName()
public void setTargetBucketName(String targetBucketName)
targetBucketName
- 日志目标桶public String getLogfilePrefix()
public void setLogfilePrefix(String logfilePrefix)
logfilePrefix
- 日志对象名前缀public GrantAndPermission[] getTargetGrants()
GrantAndPermission
public void setTargetGrants(GrantAndPermission[] targetGrants)
targetGrants
- 日志对象权限组 GrantAndPermission
public void addTargetGrant(GrantAndPermission targetGrant)
targetGrant
- 日志对象权限public boolean isLoggingEnabled()
public String getAgency()
public void setAgency(String agency)
agency
- 委托名字public String toString()
toString
in class HeaderResponse
Copyright © 2021. All rights reserved.