@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterOperationInfo extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a cluster operation.
Constructor and Description |
---|
ClusterOperationInfo() |
Modifier and Type | Method and Description |
---|---|
ClusterOperationInfo |
clone() |
boolean |
equals(Object obj) |
String |
getClientRequestId()
The ID of the API request that triggered this operation.
|
String |
getClusterArn()
ARN of the cluster.
|
Date |
getCreationTime()
The time that the operation was created.
|
Date |
getEndTime()
The time at which the operation finished.
|
ErrorInfo |
getErrorInfo()
Describes the error if the operation fails.
|
String |
getOperationArn()
ARN of the cluster operation.
|
String |
getOperationState()
State of the cluster operation.
|
String |
getOperationType()
Type of the cluster operation.
|
MutableClusterInfo |
getSourceClusterInfo()
Information about cluster attributes before a cluster is updated.
|
MutableClusterInfo |
getTargetClusterInfo()
Information about cluster attributes after a cluster is updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientRequestId(String clientRequestId)
The ID of the API request that triggered this operation.
|
void |
setClusterArn(String clusterArn)
ARN of the cluster.
|
void |
setCreationTime(Date creationTime)
The time that the operation was created.
|
void |
setEndTime(Date endTime)
The time at which the operation finished.
|
void |
setErrorInfo(ErrorInfo errorInfo)
Describes the error if the operation fails.
|
void |
setOperationArn(String operationArn)
ARN of the cluster operation.
|
void |
setOperationState(String operationState)
State of the cluster operation.
|
void |
setOperationType(String operationType)
Type of the cluster operation.
|
void |
setSourceClusterInfo(MutableClusterInfo sourceClusterInfo)
Information about cluster attributes before a cluster is updated.
|
void |
setTargetClusterInfo(MutableClusterInfo targetClusterInfo)
Information about cluster attributes after a cluster is updated.
|
String |
toString()
Returns a string representation of this object.
|
ClusterOperationInfo |
withClientRequestId(String clientRequestId)
The ID of the API request that triggered this operation.
|
ClusterOperationInfo |
withClusterArn(String clusterArn)
ARN of the cluster.
|
ClusterOperationInfo |
withCreationTime(Date creationTime)
The time that the operation was created.
|
ClusterOperationInfo |
withEndTime(Date endTime)
The time at which the operation finished.
|
ClusterOperationInfo |
withErrorInfo(ErrorInfo errorInfo)
Describes the error if the operation fails.
|
ClusterOperationInfo |
withOperationArn(String operationArn)
ARN of the cluster operation.
|
ClusterOperationInfo |
withOperationState(String operationState)
State of the cluster operation.
|
ClusterOperationInfo |
withOperationType(String operationType)
Type of the cluster operation.
|
ClusterOperationInfo |
withSourceClusterInfo(MutableClusterInfo sourceClusterInfo)
Information about cluster attributes before a cluster is updated.
|
ClusterOperationInfo |
withTargetClusterInfo(MutableClusterInfo targetClusterInfo)
Information about cluster attributes after a cluster is updated.
|
public void setClientRequestId(String clientRequestId)
The ID of the API request that triggered this operation.
clientRequestId
- The ID of the API request that triggered this operation.
public String getClientRequestId()
The ID of the API request that triggered this operation.
The ID of the API request that triggered this operation.
public ClusterOperationInfo withClientRequestId(String clientRequestId)
The ID of the API request that triggered this operation.
clientRequestId
- The ID of the API request that triggered this operation.
public void setClusterArn(String clusterArn)
ARN of the cluster.
clusterArn
- ARN of the cluster.
public String getClusterArn()
ARN of the cluster.
ARN of the cluster.
public ClusterOperationInfo withClusterArn(String clusterArn)
ARN of the cluster.
clusterArn
- ARN of the cluster.
public void setCreationTime(Date creationTime)
The time that the operation was created.
creationTime
- The time that the operation was created.
public Date getCreationTime()
The time that the operation was created.
The time that the operation was created.
public ClusterOperationInfo withCreationTime(Date creationTime)
The time that the operation was created.
creationTime
- The time that the operation was created.
public void setEndTime(Date endTime)
The time at which the operation finished.
endTime
- The time at which the operation finished.
public Date getEndTime()
The time at which the operation finished.
The time at which the operation finished.
public ClusterOperationInfo withEndTime(Date endTime)
The time at which the operation finished.
endTime
- The time at which the operation finished.
public void setErrorInfo(ErrorInfo errorInfo)
Describes the error if the operation fails.
errorInfo
- Describes the error if the operation fails.
public ErrorInfo getErrorInfo()
Describes the error if the operation fails.
Describes the error if the operation fails.
public ClusterOperationInfo withErrorInfo(ErrorInfo errorInfo)
Describes the error if the operation fails.
errorInfo
- Describes the error if the operation fails.
public void setOperationArn(String operationArn)
ARN of the cluster operation.
operationArn
- ARN of the cluster operation.
public String getOperationArn()
ARN of the cluster operation.
ARN of the cluster operation.
public ClusterOperationInfo withOperationArn(String operationArn)
ARN of the cluster operation.
operationArn
- ARN of the cluster operation.
public void setOperationState(String operationState)
State of the cluster operation.
operationState
- State of the cluster operation.
public String getOperationState()
State of the cluster operation.
State of the cluster operation.
public ClusterOperationInfo withOperationState(String operationState)
State of the cluster operation.
operationState
- State of the cluster operation.
public void setOperationType(String operationType)
Type of the cluster operation.
operationType
- Type of the cluster operation.
public String getOperationType()
Type of the cluster operation.
Type of the cluster operation.
public ClusterOperationInfo withOperationType(String operationType)
Type of the cluster operation.
operationType
- Type of the cluster operation.
public void setSourceClusterInfo(MutableClusterInfo sourceClusterInfo)
Information about cluster attributes before a cluster is updated.
sourceClusterInfo
- Information about cluster attributes before a cluster is updated.
public MutableClusterInfo getSourceClusterInfo()
Information about cluster attributes before a cluster is updated.
Information about cluster attributes before a cluster is updated.
public ClusterOperationInfo withSourceClusterInfo(MutableClusterInfo sourceClusterInfo)
Information about cluster attributes before a cluster is updated.
sourceClusterInfo
- Information about cluster attributes before a cluster is updated.
public void setTargetClusterInfo(MutableClusterInfo targetClusterInfo)
Information about cluster attributes after a cluster is updated.
targetClusterInfo
- Information about cluster attributes after a cluster is updated.
public MutableClusterInfo getTargetClusterInfo()
Information about cluster attributes after a cluster is updated.
Information about cluster attributes after a cluster is updated.
public ClusterOperationInfo withTargetClusterInfo(MutableClusterInfo targetClusterInfo)
Information about cluster attributes after a cluster is updated.
targetClusterInfo
- Information about cluster attributes after a cluster is updated.
public String toString()
toString
in class Object
Object.toString()
public ClusterOperationInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.