public static final class GetPolicyResponseBody.DefaultPolicyVersion.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
GetPolicyResponseBody.DefaultPolicyVersion |
build() |
GetPolicyResponseBody.DefaultPolicyVersion.Builder |
createDate(String createDate)
The time when the default policy version was created.
|
GetPolicyResponseBody.DefaultPolicyVersion.Builder |
isDefaultVersion(Boolean isDefaultVersion)
An attribute in the
DefaultPolicyVersion parameter. |
GetPolicyResponseBody.DefaultPolicyVersion.Builder |
policyDocument(String policyDocument)
The script of the default policy version.
|
GetPolicyResponseBody.DefaultPolicyVersion.Builder |
versionId(String versionId)
The ID of the default policy version.
|
public GetPolicyResponseBody.DefaultPolicyVersion.Builder createDate(String createDate)
The time when the default policy version was created.
example:2015-01-23T12:33:18Z
public GetPolicyResponseBody.DefaultPolicyVersion.Builder isDefaultVersion(Boolean isDefaultVersion)
An attribute in the DefaultPolicyVersion parameter. The value of the IsDefaultVersion parameter is true.
true
public GetPolicyResponseBody.DefaultPolicyVersion.Builder policyDocument(String policyDocument)
The script of the default policy version.
example:{ "Statement": [{ "Action": ["oss:"], "Effect": "Allow", "Resource": ["acs:oss:::"]}], "Version": "1"}
public GetPolicyResponseBody.DefaultPolicyVersion.Builder versionId(String versionId)
The ID of the default policy version.
example:v1
public GetPolicyResponseBody.DefaultPolicyVersion build()
Copyright © 2025. All rights reserved.