@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterUsageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterUsageRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterUsageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getNonce()
(Optional) To scope down the registration to a specific running software instance and guard against replay
attacks.
|
String |
getProductCode()
Product code is used to uniquely identify a product in AWS Marketplace.
|
Integer |
getPublicKeyVersion()
Public Key Version provided by AWS Marketplace
|
int |
hashCode() |
void |
setNonce(String nonce)
(Optional) To scope down the registration to a specific running software instance and guard against replay
attacks.
|
void |
setProductCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace.
|
void |
setPublicKeyVersion(Integer publicKeyVersion)
Public Key Version provided by AWS Marketplace
|
String |
toString()
Returns a string representation of this object.
|
RegisterUsageRequest |
withNonce(String nonce)
(Optional) To scope down the registration to a specific running software instance and guard against replay
attacks.
|
RegisterUsageRequest |
withProductCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace.
|
RegisterUsageRequest |
withPublicKeyVersion(Integer publicKeyVersion)
Public Key Version provided by AWS Marketplace
|
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 setProductCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
productCode
- Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the
same as the one used during the publishing of a new product.public String getProductCode()
Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
public RegisterUsageRequest withProductCode(String productCode)
Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.
productCode
- Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the
same as the one used during the publishing of a new product.public void setPublicKeyVersion(Integer publicKeyVersion)
Public Key Version provided by AWS Marketplace
publicKeyVersion
- Public Key Version provided by AWS Marketplacepublic Integer getPublicKeyVersion()
Public Key Version provided by AWS Marketplace
public RegisterUsageRequest withPublicKeyVersion(Integer publicKeyVersion)
Public Key Version provided by AWS Marketplace
publicKeyVersion
- Public Key Version provided by AWS Marketplacepublic void setNonce(String nonce)
(Optional) To scope down the registration to a specific running software instance and guard against replay attacks.
nonce
- (Optional) To scope down the registration to a specific running software instance and guard against replay
attacks.public String getNonce()
(Optional) To scope down the registration to a specific running software instance and guard against replay attacks.
public RegisterUsageRequest withNonce(String nonce)
(Optional) To scope down the registration to a specific running software instance and guard against replay attacks.
nonce
- (Optional) To scope down the registration to a specific running software instance and guard against replay
attacks.public String toString()
toString
in class Object
Object.toString()
public RegisterUsageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()