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 distribution configuration.
|
default AmiDistributionConfiguration.Builder |
launchPermission(Consumer<LaunchPermissionConfiguration.Builder> launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
|
AmiDistributionConfiguration.Builder |
launchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
|
AmiDistributionConfiguration.Builder |
name(String name)
The name of the distribution configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAmiDistributionConfiguration.Builder name(String name)
The name of the distribution configuration.
name - The name of the distribution configuration.AmiDistributionConfiguration.Builder description(String description)
The description of the distribution configuration.
description - The description of the distribution configuration.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 launchPermission(LaunchPermissionConfiguration launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
launchPermission - Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.default AmiDistributionConfiguration.Builder launchPermission(Consumer<LaunchPermissionConfiguration.Builder> launchPermission)
Launch permissions can be used to configure which AWS accounts can use the AMI to launch instances.
This is a convenience 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 © 2020. All rights reserved.