public static final class ListPolicyAttachmentsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ListPolicyAttachmentsRequest |
build() |
ListPolicyAttachmentsRequest.Builder |
language(String language)
The language that is used to return the description of the system policy.
|
ListPolicyAttachmentsRequest.Builder |
pageNumber(Integer pageNumber)
The number of the page to return.
|
ListPolicyAttachmentsRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
ListPolicyAttachmentsRequest.Builder |
policyName(String policyName)
The name of the policy.
|
ListPolicyAttachmentsRequest.Builder |
policyType(String policyType)
The type of the policy.
|
ListPolicyAttachmentsRequest.Builder |
principalName(String principalName)
The name of the object to which the policy is attached.
|
ListPolicyAttachmentsRequest.Builder |
principalType(String principalType)
The type of the object to which the policy is attached.
|
ListPolicyAttachmentsRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.
|
public ListPolicyAttachmentsRequest.Builder language(String language)
* en: English * zh-CN: Chinese * ja: Japanese
public ListPolicyAttachmentsRequest.Builder pageNumber(Integer pageNumber)
Pages start from page 1. Default value: 1.
public ListPolicyAttachmentsRequest.Builder pageSize(Integer pageSize)
Valid values: 1 to 100. Default value: 10.
public ListPolicyAttachmentsRequest.Builder policyName(String policyName)
The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).
public ListPolicyAttachmentsRequest.Builder policyType(String policyType)
* Custom: custom policy * System: system policy
public ListPolicyAttachmentsRequest.Builder principalName(String principalName)
public ListPolicyAttachmentsRequest.Builder principalType(String principalType)
* IMSUser: RAM user * IMSGroup: RAM user group * ServiceRole: RAM role
public ListPolicyAttachmentsRequest.Builder resourceGroupId(String resourceGroupId)
public ListPolicyAttachmentsRequest build()
Copyright © 2023. All rights reserved.