@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Operation extends Object implements Serializable, Cloneable, StructuredPojo
The operations performed by AWS Systems Manager for SAP.
Constructor and Description |
---|
Operation() |
Modifier and Type | Method and Description |
---|---|
Operation |
addPropertiesEntry(String key,
String value)
Add a single Properties entry
|
Operation |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
Operation |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the operation.
|
String |
getId()
The ID of the operation.
|
Date |
getLastUpdatedTime()
The time at which the operation was last updated.
|
Map<String,String> |
getProperties()
The properties of the operation.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the operation.
|
String |
getResourceId()
The resource ID of the operation.
|
String |
getResourceType()
The resource type of the operation.
|
Date |
getStartTime()
The start time of the operation.
|
String |
getStatus()
The status of the operation.
|
String |
getStatusMessage()
The status message of the operation.
|
String |
getType()
The type of the operation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The end time of the operation.
|
void |
setId(String id)
The ID of the operation.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time at which the operation was last updated.
|
void |
setProperties(Map<String,String> properties)
The properties of the operation.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the operation.
|
void |
setResourceId(String resourceId)
The resource ID of the operation.
|
void |
setResourceType(String resourceType)
The resource type of the operation.
|
void |
setStartTime(Date startTime)
The start time of the operation.
|
void |
setStatus(String status)
The status of the operation.
|
void |
setStatusMessage(String statusMessage)
The status message of the operation.
|
void |
setType(String type)
The type of the operation.
|
String |
toString()
Returns a string representation of this object.
|
Operation |
withEndTime(Date endTime)
The end time of the operation.
|
Operation |
withId(String id)
The ID of the operation.
|
Operation |
withLastUpdatedTime(Date lastUpdatedTime)
The time at which the operation was last updated.
|
Operation |
withProperties(Map<String,String> properties)
The properties of the operation.
|
Operation |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the operation.
|
Operation |
withResourceId(String resourceId)
The resource ID of the operation.
|
Operation |
withResourceType(String resourceType)
The resource type of the operation.
|
Operation |
withStartTime(Date startTime)
The start time of the operation.
|
Operation |
withStatus(OperationStatus status)
The status of the operation.
|
Operation |
withStatus(String status)
The status of the operation.
|
Operation |
withStatusMessage(String statusMessage)
The status message of the operation.
|
Operation |
withType(String type)
The type of the operation.
|
public void setId(String id)
The ID of the operation.
id
- The ID of the operation.public String getId()
The ID of the operation.
public Operation withId(String id)
The ID of the operation.
id
- The ID of the operation.public void setType(String type)
The type of the operation.
type
- The type of the operation.public String getType()
The type of the operation.
public Operation withType(String type)
The type of the operation.
type
- The type of the operation.public void setStatus(String status)
The status of the operation.
status
- The status of the operation.OperationStatus
public String getStatus()
The status of the operation.
OperationStatus
public Operation withStatus(String status)
The status of the operation.
status
- The status of the operation.OperationStatus
public Operation withStatus(OperationStatus status)
The status of the operation.
status
- The status of the operation.OperationStatus
public void setStatusMessage(String statusMessage)
The status message of the operation.
statusMessage
- The status message of the operation.public String getStatusMessage()
The status message of the operation.
public Operation withStatusMessage(String statusMessage)
The status message of the operation.
statusMessage
- The status message of the operation.public Map<String,String> getProperties()
The properties of the operation.
public void setProperties(Map<String,String> properties)
The properties of the operation.
properties
- The properties of the operation.public Operation withProperties(Map<String,String> properties)
The properties of the operation.
properties
- The properties of the operation.public Operation addPropertiesEntry(String key, String value)
public Operation clearPropertiesEntries()
public void setResourceType(String resourceType)
The resource type of the operation.
resourceType
- The resource type of the operation.public String getResourceType()
The resource type of the operation.
public Operation withResourceType(String resourceType)
The resource type of the operation.
resourceType
- The resource type of the operation.public void setResourceId(String resourceId)
The resource ID of the operation.
resourceId
- The resource ID of the operation.public String getResourceId()
The resource ID of the operation.
public Operation withResourceId(String resourceId)
The resource ID of the operation.
resourceId
- The resource ID of the operation.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the operation.
resourceArn
- The Amazon Resource Name (ARN) of the operation.public String getResourceArn()
The Amazon Resource Name (ARN) of the operation.
public Operation withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the operation.
resourceArn
- The Amazon Resource Name (ARN) of the operation.public void setStartTime(Date startTime)
The start time of the operation.
startTime
- The start time of the operation.public Date getStartTime()
The start time of the operation.
public Operation withStartTime(Date startTime)
The start time of the operation.
startTime
- The start time of the operation.public void setEndTime(Date endTime)
The end time of the operation.
endTime
- The end time of the operation.public Date getEndTime()
The end time of the operation.
public Operation withEndTime(Date endTime)
The end time of the operation.
endTime
- The end time of the operation.public void setLastUpdatedTime(Date lastUpdatedTime)
The time at which the operation was last updated.
lastUpdatedTime
- The time at which the operation was last updated.public Date getLastUpdatedTime()
The time at which the operation was last updated.
public Operation withLastUpdatedTime(Date lastUpdatedTime)
The time at which the operation was last updated.
lastUpdatedTime
- The time at which the operation was last updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.