@Generated(value="software.amazon.awssdk:codegen") public class ModifyImageAttributeRequest extends AmazonWebServiceRequest implements software.amazon.awssdk.utils.builder.ToCopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>
Contains the parameters for ModifyImageAttribute.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyImageAttributeRequest.Builder |
NOOP| Modifier and Type | Method and 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() |
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, copyBaseTo, 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
productCodes attribute.public List<String> userGroups()
One or more user groups. This is only valid when modifying the launchPermission attribute.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
launchPermission attribute.public List<String> userIds()
One or more AWS account IDs. This is only valid when modifying the launchPermission attribute.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<ModifyImageAttributeRequest.Builder,ModifyImageAttributeRequest>public static ModifyImageAttributeRequest.Builder builder()
public static Class<? extends ModifyImageAttributeRequest.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.