public static interface AddLayerVersionPermissionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<AddLayerVersionPermissionRequest.Builder,AddLayerVersionPermissionRequest>
| Modifier and Type | Method and Description |
|---|---|
AddLayerVersionPermissionRequest.Builder |
action(String action)
The API action that grants access to the layer.
|
AddLayerVersionPermissionRequest.Builder |
layerName(String layerName)
The name or Amazon Resource Name (ARN) of the layer.
|
AddLayerVersionPermissionRequest.Builder |
organizationId(String organizationId)
With the principal set to
*, grant permission to all accounts in the specified organization. |
AddLayerVersionPermissionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AddLayerVersionPermissionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AddLayerVersionPermissionRequest.Builder |
principal(String principal)
An account ID, or
* to grant layer usage permission to all accounts in an organization, or all
Amazon Web Services accounts (if organizationId is not specified). |
AddLayerVersionPermissionRequest.Builder |
revisionId(String revisionId)
Only update the policy if the revision ID matches the ID specified.
|
AddLayerVersionPermissionRequest.Builder |
statementId(String statementId)
An identifier that distinguishes the policy from others on the same layer version.
|
AddLayerVersionPermissionRequest.Builder |
versionNumber(Long versionNumber)
The version number.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddLayerVersionPermissionRequest.Builder layerName(String layerName)
The name or Amazon Resource Name (ARN) of the layer.
layerName - The name or Amazon Resource Name (ARN) of the layer.AddLayerVersionPermissionRequest.Builder versionNumber(Long versionNumber)
The version number.
versionNumber - The version number.AddLayerVersionPermissionRequest.Builder statementId(String statementId)
An identifier that distinguishes the policy from others on the same layer version.
statementId - An identifier that distinguishes the policy from others on the same layer version.AddLayerVersionPermissionRequest.Builder action(String action)
The API action that grants access to the layer. For example, lambda:GetLayerVersion.
action - The API action that grants access to the layer. For example, lambda:GetLayerVersion.AddLayerVersionPermissionRequest.Builder principal(String principal)
An account ID, or * to grant layer usage permission to all accounts in an organization, or all
Amazon Web Services accounts (if organizationId is not specified). For the last case, make sure
that you really do want all Amazon Web Services accounts to have usage permission to this layer.
principal - An account ID, or * to grant layer usage permission to all accounts in an organization,
or all Amazon Web Services accounts (if organizationId is not specified). For the last
case, make sure that you really do want all Amazon Web Services accounts to have usage permission to
this layer.AddLayerVersionPermissionRequest.Builder organizationId(String organizationId)
With the principal set to *, grant permission to all accounts in the specified organization.
organizationId - With the principal set to *, grant permission to all accounts in the specified
organization.AddLayerVersionPermissionRequest.Builder revisionId(String revisionId)
Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.
revisionId - Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying
a policy that has changed since you last read it.AddLayerVersionPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAddLayerVersionPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.