CopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>, SdkBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>public static interface ModifyImageAttributeRequest.Builder extends CopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>
copyapply, buildModifyImageAttributeRequest.Builder attribute(String attribute)
The name of the attribute to modify.
attribute - The name of the attribute to modify.ModifyImageAttributeRequest.Builder description(String description)
A description for the AMI.
description - A description for the AMI.ModifyImageAttributeRequest.Builder imageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.ModifyImageAttributeRequest.Builder launchPermission(LaunchPermissionModifications launchPermission)
A launch permission modification.
launchPermission - A launch permission modification.ModifyImageAttributeRequest.Builder operationType(String operationType)
The operation type.
operationType - The operation type.OperationTypeModifyImageAttributeRequest.Builder operationType(OperationType operationType)
The operation type.
operationType - The operation type.OperationTypeModifyImageAttributeRequest.Builder productCodes(Collection<String> productCodes)
One or more product codes. After you add a product code to an AMI, it can't be removed. This is only valid
when modifying the productCodes attribute.
productCodes - One or more product codes. After you add a product code to an AMI, it can't be removed. This is only
valid when modifying the productCodes attribute.ModifyImageAttributeRequest.Builder productCodes(String... productCodes)
One or more product codes. After you add a product code to an AMI, it can't be removed. This is only valid
when modifying the productCodes attribute.
NOTE: This method appends the values to the existing list (if any). Use
#setProductCodes(java.util.Collection) or #withProductCodes(java.util.Collection) if you want
to override the existing values.
productCodes - One or more product codes. After you add a product code to an AMI, it can't be removed. This is only
valid when modifying the productCodes attribute.ModifyImageAttributeRequest.Builder userGroups(Collection<String> userGroups)
One or more user groups. This is only valid when modifying the launchPermission attribute.
userGroups - One or more user groups. This is only valid when modifying the launchPermission
attribute.ModifyImageAttributeRequest.Builder userGroups(String... userGroups)
One or more user groups. This is only valid when modifying the launchPermission attribute.
NOTE: This method appends the values to the existing list (if any). Use
#setUserGroups(java.util.Collection) or #withUserGroups(java.util.Collection) if you want to
override the existing values.
userGroups - One or more user groups. This is only valid when modifying the launchPermission
attribute.ModifyImageAttributeRequest.Builder userIds(Collection<String> userIds)
One or more AWS account IDs. This is only valid when modifying the launchPermission attribute.
userIds - One or more AWS account IDs. This is only valid when modifying the launchPermission
attribute.ModifyImageAttributeRequest.Builder userIds(String... userIds)
One or more AWS account IDs. This is only valid when modifying the launchPermission attribute.
NOTE: This method appends the values to the existing list (if any). Use
#setUserIds(java.util.Collection) or #withUserIds(java.util.Collection) if you want to
override the existing values.
userIds - One or more AWS account IDs. This is only valid when modifying the launchPermission
attribute.ModifyImageAttributeRequest.Builder value(String value)
The value of the attribute being modified. This is only valid when modifying the description
attribute.
value - The value of the attribute being modified. This is only valid when modifying the
description attribute.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.