public static interface AmiDistributionConfiguration.Builder extends SdkPojo, CopyableBuilder<AmiDistributionConfiguration.Builder,AmiDistributionConfiguration>
| Modifier and Type | Method and Description |
|---|---|
AmiDistributionConfiguration.Builder |
amiTags(Map<String,String> amiTags)
The tags to apply to AMIs distributed to this Region.
|
AmiDistributionConfiguration.Builder |
description(String description)
The description of the AMI distribution configuration.
|
AmiDistributionConfiguration.Builder |
kmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the distributed image.
|
default AmiDistributionConfiguration.Builder |
launchPermission(Consumer<LaunchPermissionConfiguration.Builder> launchPermission)
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch
instances.
|
AmiDistributionConfiguration.Builder |
launchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch
instances.
|
AmiDistributionConfiguration.Builder |
name(String name)
The name of the output AMI.
|
AmiDistributionConfiguration.Builder |
targetAccountIds(Collection<String> targetAccountIds)
The ID of an account to which you want to distribute an image.
|
AmiDistributionConfiguration.Builder |
targetAccountIds(String... targetAccountIds)
The ID of an account to which you want to distribute an image.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAmiDistributionConfiguration.Builder name(String name)
The name of the output AMI.
name - The name of the output AMI.AmiDistributionConfiguration.Builder description(String description)
The description of the AMI distribution configuration. Minimum and maximum length are in characters.
description - The description of the AMI distribution configuration. Minimum and maximum length are in characters.AmiDistributionConfiguration.Builder targetAccountIds(Collection<String> targetAccountIds)
The ID of an account to which you want to distribute an image.
targetAccountIds - The ID of an account to which you want to distribute an image.AmiDistributionConfiguration.Builder targetAccountIds(String... targetAccountIds)
The ID of an account to which you want to distribute an image.
targetAccountIds - The ID of an account to which you want to distribute an image.AmiDistributionConfiguration.Builder amiTags(Map<String,String> amiTags)
The tags to apply to AMIs distributed to this Region.
amiTags - The tags to apply to AMIs distributed to this Region.AmiDistributionConfiguration.Builder kmsKeyId(String kmsKeyId)
The KMS key identifier used to encrypt the distributed image.
kmsKeyId - The KMS key identifier used to encrypt the distributed image.AmiDistributionConfiguration.Builder launchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.
launchPermission - Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to
launch instances.default AmiDistributionConfiguration.Builder launchPermission(Consumer<LaunchPermissionConfiguration.Builder> launchPermission)
Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.
This is a convenience method that creates an instance of theLaunchPermissionConfiguration.Builder
avoiding the need to create one manually via LaunchPermissionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to launchPermission(LaunchPermissionConfiguration).launchPermission - a consumer that will call methods on LaunchPermissionConfiguration.BuilderlaunchPermission(LaunchPermissionConfiguration)Copyright © 2022. All rights reserved.