@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LicenseOperationFailure extends Object implements Serializable, Cloneable, StructuredPojo
Describes the failure of a license operation.
Constructor and Description |
---|
LicenseOperationFailure() |
Modifier and Type | Method and Description |
---|---|
LicenseOperationFailure |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
Error message.
|
Date |
getFailureTime()
Failure time.
|
List<Metadata> |
getMetadataList()
Reserved.
|
String |
getOperationName()
Name of the operation.
|
String |
getOperationRequestedBy()
The requester is "License Manager Automated Discovery".
|
String |
getResourceArn()
Amazon Resource Name (ARN) of the resource.
|
String |
getResourceOwnerId()
ID of the Amazon Web Services account that owns the resource.
|
String |
getResourceType()
Resource type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
Error message.
|
void |
setFailureTime(Date failureTime)
Failure time.
|
void |
setMetadataList(Collection<Metadata> metadataList)
Reserved.
|
void |
setOperationName(String operationName)
Name of the operation.
|
void |
setOperationRequestedBy(String operationRequestedBy)
The requester is "License Manager Automated Discovery".
|
void |
setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
|
void |
setResourceOwnerId(String resourceOwnerId)
ID of the Amazon Web Services account that owns the resource.
|
void |
setResourceType(String resourceType)
Resource type.
|
String |
toString()
Returns a string representation of this object.
|
LicenseOperationFailure |
withErrorMessage(String errorMessage)
Error message.
|
LicenseOperationFailure |
withFailureTime(Date failureTime)
Failure time.
|
LicenseOperationFailure |
withMetadataList(Collection<Metadata> metadataList)
Reserved.
|
LicenseOperationFailure |
withMetadataList(Metadata... metadataList)
Reserved.
|
LicenseOperationFailure |
withOperationName(String operationName)
Name of the operation.
|
LicenseOperationFailure |
withOperationRequestedBy(String operationRequestedBy)
The requester is "License Manager Automated Discovery".
|
LicenseOperationFailure |
withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
|
LicenseOperationFailure |
withResourceOwnerId(String resourceOwnerId)
ID of the Amazon Web Services account that owns the resource.
|
LicenseOperationFailure |
withResourceType(ResourceType resourceType)
Resource type.
|
LicenseOperationFailure |
withResourceType(String resourceType)
Resource type.
|
public void setResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public String getResourceArn()
Amazon Resource Name (ARN) of the resource.
public LicenseOperationFailure withResourceArn(String resourceArn)
Amazon Resource Name (ARN) of the resource.
resourceArn
- Amazon Resource Name (ARN) of the resource.public void setResourceType(String resourceType)
Resource type.
resourceType
- Resource type.ResourceType
public String getResourceType()
Resource type.
ResourceType
public LicenseOperationFailure withResourceType(String resourceType)
Resource type.
resourceType
- Resource type.ResourceType
public LicenseOperationFailure withResourceType(ResourceType resourceType)
Resource type.
resourceType
- Resource type.ResourceType
public void setErrorMessage(String errorMessage)
Error message.
errorMessage
- Error message.public String getErrorMessage()
Error message.
public LicenseOperationFailure withErrorMessage(String errorMessage)
Error message.
errorMessage
- Error message.public void setFailureTime(Date failureTime)
Failure time.
failureTime
- Failure time.public Date getFailureTime()
Failure time.
public LicenseOperationFailure withFailureTime(Date failureTime)
Failure time.
failureTime
- Failure time.public void setOperationName(String operationName)
Name of the operation.
operationName
- Name of the operation.public String getOperationName()
Name of the operation.
public LicenseOperationFailure withOperationName(String operationName)
Name of the operation.
operationName
- Name of the operation.public void setResourceOwnerId(String resourceOwnerId)
ID of the Amazon Web Services account that owns the resource.
resourceOwnerId
- ID of the Amazon Web Services account that owns the resource.public String getResourceOwnerId()
ID of the Amazon Web Services account that owns the resource.
public LicenseOperationFailure withResourceOwnerId(String resourceOwnerId)
ID of the Amazon Web Services account that owns the resource.
resourceOwnerId
- ID of the Amazon Web Services account that owns the resource.public void setOperationRequestedBy(String operationRequestedBy)
The requester is "License Manager Automated Discovery".
operationRequestedBy
- The requester is "License Manager Automated Discovery".public String getOperationRequestedBy()
The requester is "License Manager Automated Discovery".
public LicenseOperationFailure withOperationRequestedBy(String operationRequestedBy)
The requester is "License Manager Automated Discovery".
operationRequestedBy
- The requester is "License Manager Automated Discovery".public void setMetadataList(Collection<Metadata> metadataList)
Reserved.
metadataList
- Reserved.public LicenseOperationFailure withMetadataList(Metadata... metadataList)
Reserved.
NOTE: This method appends the values to the existing list (if any). Use
setMetadataList(java.util.Collection)
or withMetadataList(java.util.Collection)
if you want to
override the existing values.
metadataList
- Reserved.public LicenseOperationFailure withMetadataList(Collection<Metadata> metadataList)
Reserved.
metadataList
- Reserved.public String toString()
toString
in class Object
Object.toString()
public LicenseOperationFailure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.