@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()
One or more product codes.
|
List<String> |
getUserGroups()
One or more user groups.
|
List<String> |
getUserIds()
One or more AWS 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)
One or more product codes.
|
void |
setUserGroups(Collection<String> userGroups)
One or more user groups.
|
void |
setUserIds(Collection<String> userIds)
One or more AWS account IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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)
One or more product codes.
|
ModifyFpgaImageAttributeRequest |
withProductCodes(String... productCodes)
One or more product codes.
|
ModifyFpgaImageAttributeRequest |
withUserGroups(Collection<String> userGroups)
One or more user groups.
|
ModifyFpgaImageAttributeRequest |
withUserGroups(String... userGroups)
One or more user groups.
|
ModifyFpgaImageAttributeRequest |
withUserIds(Collection<String> userIds)
One or more AWS account IDs.
|
ModifyFpgaImageAttributeRequest |
withUserIds(String... userIds)
One or more AWS 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, withSdkRequestTimeout
public 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.FpgaImageAttributeName
public String getAttribute()
The name of the attribute.
FpgaImageAttributeName
public ModifyFpgaImageAttributeRequest withAttribute(String attribute)
The name of the attribute.
attribute
- The name of the attribute.FpgaImageAttributeName
public ModifyFpgaImageAttributeRequest withAttribute(FpgaImageAttributeName attribute)
The name of the attribute.
attribute
- The name of the attribute.FpgaImageAttributeName
public void setOperationType(String operationType)
The operation type.
operationType
- The operation type.OperationType
public String getOperationType()
The operation type.
OperationType
public ModifyFpgaImageAttributeRequest withOperationType(String operationType)
The operation type.
operationType
- The operation type.OperationType
public ModifyFpgaImageAttributeRequest withOperationType(OperationType operationType)
The operation type.
operationType
- The operation type.OperationType
public List<String> getUserIds()
One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.
loadPermission
attribute.public void setUserIds(Collection<String> userIds)
One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.
userIds
- One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.public ModifyFpgaImageAttributeRequest withUserIds(String... userIds)
One or more AWS 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
- One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.public ModifyFpgaImageAttributeRequest withUserIds(Collection<String> userIds)
One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.
userIds
- One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.public List<String> getUserGroups()
One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.
loadPermission
attribute.public void setUserGroups(Collection<String> userGroups)
One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.
userGroups
- One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.public ModifyFpgaImageAttributeRequest withUserGroups(String... userGroups)
One or more 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
- One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.public ModifyFpgaImageAttributeRequest withUserGroups(Collection<String> userGroups)
One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.
userGroups
- One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.public List<String> getProductCodes()
One or more 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)
One or more 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
- One or more 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)
One or more 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
- One or more 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)
One or more 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
- One or more 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 Object
Object.toString()
public ModifyFpgaImageAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.