public static interface ModifyImageAttributeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyImageAttributeRequest.Builder attribute(String attribute)
The name of the attribute to modify. The valid values are description and
launchPermission.
attribute - The name of the attribute to modify. The valid values are description and
launchPermission.ModifyImageAttributeRequest.Builder description(AttributeValue description)
A new description for the AMI.
description - A new description for the AMI.default ModifyImageAttributeRequest.Builder description(Consumer<AttributeValue.Builder> description)
A new description for the AMI.
This is a convenience that creates an instance of theAttributeValue.Builder avoiding the need to
create one manually via AttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to description(AttributeValue).description - a consumer that will call methods on AttributeValue.Builderdescription(AttributeValue)ModifyImageAttributeRequest.Builder imageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.ModifyImageAttributeRequest.Builder launchPermission(LaunchPermissionModifications launchPermission)
A new launch permission for the AMI.
launchPermission - A new launch permission for the AMI.default ModifyImageAttributeRequest.Builder launchPermission(Consumer<LaunchPermissionModifications.Builder> launchPermission)
A new launch permission for the AMI.
This is a convenience that creates an instance of theLaunchPermissionModifications.Builder avoiding
the need to create one manually via LaunchPermissionModifications.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to launchPermission(LaunchPermissionModifications).launchPermission - a consumer that will call methods on LaunchPermissionModifications.BuilderlaunchPermission(LaunchPermissionModifications)ModifyImageAttributeRequest.Builder operationType(String operationType)
The operation type. This parameter can be used only when the Attribute parameter is
launchPermission.
operationType - The operation type. This parameter can be used only when the Attribute parameter is
launchPermission.OperationType,
OperationTypeModifyImageAttributeRequest.Builder operationType(OperationType operationType)
The operation type. This parameter can be used only when the Attribute parameter is
launchPermission.
operationType - The operation type. This parameter can be used only when the Attribute parameter is
launchPermission.OperationType,
OperationTypeModifyImageAttributeRequest.Builder productCodes(Collection<String> productCodes)
Not supported.
productCodes - Not supported.ModifyImageAttributeRequest.Builder productCodes(String... productCodes)
Not supported.
productCodes - Not supported.ModifyImageAttributeRequest.Builder userGroups(Collection<String> userGroups)
The user groups. This parameter can be used only when the Attribute parameter is
launchPermission.
userGroups - The user groups. This parameter can be used only when the Attribute parameter is
launchPermission.ModifyImageAttributeRequest.Builder userGroups(String... userGroups)
The user groups. This parameter can be used only when the Attribute parameter is
launchPermission.
userGroups - The user groups. This parameter can be used only when the Attribute parameter is
launchPermission.ModifyImageAttributeRequest.Builder userIds(Collection<String> userIds)
The Amazon Web Services account IDs. This parameter can be used only when the Attribute
parameter is launchPermission.
userIds - The Amazon Web Services account IDs. This parameter can be used only when the Attribute
parameter is launchPermission.ModifyImageAttributeRequest.Builder userIds(String... userIds)
The Amazon Web Services account IDs. This parameter can be used only when the Attribute
parameter is launchPermission.
userIds - The Amazon Web Services account IDs. This parameter can be used only when the Attribute
parameter is launchPermission.ModifyImageAttributeRequest.Builder value(String value)
The value of the attribute being modified. This parameter can be used only when the Attribute
parameter is description.
value - The value of the attribute being modified. This parameter can be used only when the
Attribute parameter is description.ModifyImageAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyImageAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.