Interface PolicyGrantingServiceAccess.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyGrantingServiceAccess.Builder,
,PolicyGrantingServiceAccess> SdkBuilder<PolicyGrantingServiceAccess.Builder,
,PolicyGrantingServiceAccess> SdkPojo
- Enclosing class:
PolicyGrantingServiceAccess
-
Method Summary
Modifier and TypeMethodDescriptionentityName
(String entityName) The name of the entity (user or role) to which the inline policy is attached.entityType
(String entityType) The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.entityType
(PolicyOwnerEntityType entityType) The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.Sets the value of the PolicyArn property for this object.policyName
(String policyName) The policy name.policyType
(String policyType) The policy type.policyType
(PolicyType policyType) The policy type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
policyName
The policy name.
- Parameters:
policyName
- The policy name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyType
The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Parameters:
policyType
- The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Parameters:
policyType
- The policy type. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyArn
Sets the value of the PolicyArn property for this object.- Parameters:
policyArn
- The new value for the PolicyArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityType
The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Parameters:
entityType
- The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityType
The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Parameters:
entityType
- The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityName
The name of the entity (user or role) to which the inline policy is attached.
This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Parameters:
entityName
- The name of the entity (user or role) to which the inline policy is attached.This field is null for managed policies. For more information about these policy types, see Managed policies and inline policies in the IAM User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-