Interface PolicyGrantingServiceAccess.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyGrantingServiceAccess.Builder,PolicyGrantingServiceAccess>
,SdkBuilder<PolicyGrantingServiceAccess.Builder,PolicyGrantingServiceAccess>
,SdkPojo
- Enclosing class:
- PolicyGrantingServiceAccess
public static interface PolicyGrantingServiceAccess.Builder extends SdkPojo, CopyableBuilder<PolicyGrantingServiceAccess.Builder,PolicyGrantingServiceAccess>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyGrantingServiceAccess.Builder
entityName(String entityName)
The name of the entity (user or role) to which the inline policy is attached.PolicyGrantingServiceAccess.Builder
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.PolicyGrantingServiceAccess.Builder
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.PolicyGrantingServiceAccess.Builder
policyArn(String policyArn)
Sets the value of the PolicyArn property for this object.PolicyGrantingServiceAccess.Builder
policyName(String policyName)
The policy name.PolicyGrantingServiceAccess.Builder
policyType(String policyType)
The policy type.PolicyGrantingServiceAccess.Builder
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 Detail
-
policyName
PolicyGrantingServiceAccess.Builder policyName(String 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
PolicyGrantingServiceAccess.Builder policyType(String 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
,PolicyType
-
policyType
PolicyGrantingServiceAccess.Builder policyType(PolicyType 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
,PolicyType
-
policyArn
PolicyGrantingServiceAccess.Builder policyArn(String 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
PolicyGrantingServiceAccess.Builder 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.
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:
PolicyOwnerEntityType
,PolicyOwnerEntityType
-
entityType
PolicyGrantingServiceAccess.Builder 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.
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:
PolicyOwnerEntityType
,PolicyOwnerEntityType
-
entityName
PolicyGrantingServiceAccess.Builder entityName(String 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.
-
-