@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyFpgaImageAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyFpgaImageAttributeRequest>
NOOP| Constructor and Description |
|---|
ModifyFpgaImageAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyFpgaImageAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAttribute()
The name of the attribute.
|
String |
getDescription()
A description for the AFI.
|
Request<ModifyFpgaImageAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getFpgaImageId()
The ID of the AFI.
|
LoadPermissionModifications |
getLoadPermission()
The load permission for the AFI.
|
String |
getName()
A name for the AFI.
|
String |
getOperationType()
The operation type.
|
List<String> |
getProductCodes()
The product codes.
|
List<String> |
getUserGroups()
The user groups.
|
List<String> |
getUserIds()
The Amazon Web Services account IDs.
|
int |
hashCode() |
void |
setAttribute(String attribute)
The name of the attribute.
|
void |
setDescription(String description)
A description for the AFI.
|
void |
setFpgaImageId(String fpgaImageId)
The ID of the AFI.
|
void |
setLoadPermission(LoadPermissionModifications loadPermission)
The load permission for the AFI.
|
void |
setName(String name)
A name for the AFI.
|
void |
setOperationType(String operationType)
The operation type.
|
void |
setProductCodes(Collection<String> productCodes)
The product codes.
|
void |
setUserGroups(Collection<String> userGroups)
The user groups.
|
void |
setUserIds(Collection<String> userIds)
The Amazon Web Services account IDs.
|
String |
toString()
Returns a string representation of this object.
|
ModifyFpgaImageAttributeRequest |
withAttribute(FpgaImageAttributeName attribute)
The name of the attribute.
|
ModifyFpgaImageAttributeRequest |
withAttribute(String attribute)
The name of the attribute.
|
ModifyFpgaImageAttributeRequest |
withDescription(String description)
A description for the AFI.
|
ModifyFpgaImageAttributeRequest |
withFpgaImageId(String fpgaImageId)
The ID of the AFI.
|
ModifyFpgaImageAttributeRequest |
withLoadPermission(LoadPermissionModifications loadPermission)
The load permission for the AFI.
|
ModifyFpgaImageAttributeRequest |
withName(String name)
A name for the AFI.
|
ModifyFpgaImageAttributeRequest |
withOperationType(OperationType operationType)
The operation type.
|
ModifyFpgaImageAttributeRequest |
withOperationType(String operationType)
The operation type.
|
ModifyFpgaImageAttributeRequest |
withProductCodes(Collection<String> productCodes)
The product codes.
|
ModifyFpgaImageAttributeRequest |
withProductCodes(String... productCodes)
The product codes.
|
ModifyFpgaImageAttributeRequest |
withUserGroups(Collection<String> userGroups)
The user groups.
|
ModifyFpgaImageAttributeRequest |
withUserGroups(String... userGroups)
The user groups.
|
ModifyFpgaImageAttributeRequest |
withUserIds(Collection<String> userIds)
The Amazon Web Services account IDs.
|
ModifyFpgaImageAttributeRequest |
withUserIds(String... userIds)
The Amazon Web Services account IDs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFpgaImageId(String fpgaImageId)
The ID of the AFI.
fpgaImageId - The ID of the AFI.public String getFpgaImageId()
The ID of the AFI.
public ModifyFpgaImageAttributeRequest withFpgaImageId(String fpgaImageId)
The ID of the AFI.
fpgaImageId - The ID of the AFI.public void setAttribute(String attribute)
The name of the attribute.
attribute - The name of the attribute.FpgaImageAttributeNamepublic String getAttribute()
The name of the attribute.
FpgaImageAttributeNamepublic ModifyFpgaImageAttributeRequest withAttribute(String attribute)
The name of the attribute.
attribute - The name of the attribute.FpgaImageAttributeNamepublic ModifyFpgaImageAttributeRequest withAttribute(FpgaImageAttributeName attribute)
The name of the attribute.
attribute - The name of the attribute.FpgaImageAttributeNamepublic void setOperationType(String operationType)
The operation type.
operationType - The operation type.OperationTypepublic String getOperationType()
The operation type.
OperationTypepublic ModifyFpgaImageAttributeRequest withOperationType(String operationType)
The operation type.
operationType - The operation type.OperationTypepublic ModifyFpgaImageAttributeRequest withOperationType(OperationType operationType)
The operation type.
operationType - The operation type.OperationTypepublic List<String> getUserIds()
The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission
attribute.
loadPermission attribute.public void setUserIds(Collection<String> userIds)
The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission
attribute.
userIds - The Amazon Web Services account IDs. This parameter is valid only when modifying the
loadPermission attribute.public ModifyFpgaImageAttributeRequest withUserIds(String... userIds)
The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission
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 - The Amazon Web Services account IDs. This parameter is valid only when modifying the
loadPermission attribute.public ModifyFpgaImageAttributeRequest withUserIds(Collection<String> userIds)
The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission
attribute.
userIds - The Amazon Web Services account IDs. This parameter is valid only when modifying the
loadPermission attribute.public List<String> getUserGroups()
The user groups. This parameter is valid only when modifying the loadPermission attribute.
loadPermission attribute.public void setUserGroups(Collection<String> userGroups)
The user groups. This parameter is valid only when modifying the loadPermission attribute.
userGroups - The user groups. This parameter is valid only when modifying the loadPermission attribute.public ModifyFpgaImageAttributeRequest withUserGroups(String... userGroups)
The user groups. This parameter is valid only when modifying the loadPermission 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 - The user groups. This parameter is valid only when modifying the loadPermission attribute.public ModifyFpgaImageAttributeRequest withUserGroups(Collection<String> userGroups)
The user groups. This parameter is valid only when modifying the loadPermission attribute.
userGroups - The user groups. This parameter is valid only when modifying the loadPermission attribute.public List<String> getProductCodes()
The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when
modifying the productCodes attribute.
productCodes attribute.public void setProductCodes(Collection<String> productCodes)
The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when
modifying the productCodes attribute.
productCodes - The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid
only when modifying the productCodes attribute.public ModifyFpgaImageAttributeRequest withProductCodes(String... productCodes)
The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only 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 - The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid
only when modifying the productCodes attribute.public ModifyFpgaImageAttributeRequest withProductCodes(Collection<String> productCodes)
The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when
modifying the productCodes attribute.
productCodes - The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid
only when modifying the productCodes attribute.public void setLoadPermission(LoadPermissionModifications loadPermission)
The load permission for the AFI.
loadPermission - The load permission for the AFI.public LoadPermissionModifications getLoadPermission()
The load permission for the AFI.
public ModifyFpgaImageAttributeRequest withLoadPermission(LoadPermissionModifications loadPermission)
The load permission for the AFI.
loadPermission - The load permission for the AFI.public void setDescription(String description)
A description for the AFI.
description - A description for the AFI.public String getDescription()
A description for the AFI.
public ModifyFpgaImageAttributeRequest withDescription(String description)
A description for the AFI.
description - A description for the AFI.public void setName(String name)
A name for the AFI.
name - A name for the AFI.public String getName()
A name for the AFI.
public ModifyFpgaImageAttributeRequest withName(String name)
A name for the AFI.
name - A name for the AFI.public Request<ModifyFpgaImageAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyFpgaImageAttributeRequest>public String toString()
toString in class ObjectObject.toString()public ModifyFpgaImageAttributeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()