Interface ResourceAccessPolicy.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ResourceAccessPolicy.Builder,,- ResourceAccessPolicy> - SdkBuilder<ResourceAccessPolicy.Builder,,- ResourceAccessPolicy> - SdkPojo
- Enclosing class:
- ResourceAccessPolicy
@Mutable
@NotThreadSafe
public static interface ResourceAccessPolicy.Builder
extends SdkPojo, CopyableBuilder<ResourceAccessPolicy.Builder,ResourceAccessPolicy> 
- 
Method SummaryModifier and TypeMethodDescriptionpermission(String permission) The permissions that the Lambda function has to the resource.permission(Permission permission) The permissions that the Lambda function has to the resource.resourceId(String resourceId) The ID of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
permissionThe permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).- Parameters:
- permission- The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
permissionThe permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).- Parameters:
- permission- The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
resourceIdThe ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)- Parameters:
- resourceId- The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-