Cloneable, ReadLimitInfo, ToCopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>@Generated("software.amazon.awssdk:codegen") public class ModifyImageAttributeRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>
Contains the parameters for ModifyImageAttribute.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
ModifyImageAttributeRequest.Builder |
NOOP| Modifier and Type | Method | Description |
|---|---|---|
String |
attribute() |
The name of the attribute to modify.
|
static ModifyImageAttributeRequest.Builder |
builder() |
|
String |
description() |
A description for the AMI.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
imageId() |
The ID of the AMI.
|
LaunchPermissionModifications |
launchPermission() |
A launch permission modification.
|
String |
operationType() |
The operation type.
|
List<String> |
productCodes() |
One or more product codes.
|
static Class<? extends ModifyImageAttributeRequest.Builder> |
serializableBuilderClass() |
|
ModifyImageAttributeRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<String> |
userGroups() |
One or more user groups.
|
List<String> |
userIds() |
One or more AWS account IDs.
|
String |
value() |
The value of the attribute being modified.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeoutpublic String attribute()
The name of the attribute to modify.
public String description()
A description for the AMI.
public String imageId()
The ID of the AMI.
public LaunchPermissionModifications launchPermission()
A launch permission modification.
public String operationType()
The operation type.
OperationTypepublic List<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 attribute.public List<String> userGroups()
One or more user groups. This is only valid when modifying the launchPermission attribute.
launchPermission attribute.public List<String> userIds()
One or more AWS account IDs. This is only valid when modifying the launchPermission attribute.
launchPermission
attribute.public String value()
The value of the attribute being modified. This is only valid when modifying the description
attribute.
description
attribute.public ModifyImageAttributeRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>public static ModifyImageAttributeRequest.Builder builder()
public static Class<? extends ModifyImageAttributeRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.