@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterOperationV2 extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a cluster operation.
Constructor and Description |
---|
ClusterOperationV2() |
Modifier and Type | Method and Description |
---|---|
ClusterOperationV2 |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
ARN of the cluster.
|
String |
getClusterType()
Type of the backend cluster.
|
Date |
getEndTime()
The time at which the operation finished.
|
ErrorInfo |
getErrorInfo()
If cluster operation failed from an error, it describes the error.
|
String |
getOperationArn()
ARN of the cluster operation.
|
String |
getOperationState()
State of the cluster operation.
|
String |
getOperationType()
Type of the cluster operation.
|
ClusterOperationV2Provisioned |
getProvisioned()
Properties of a provisioned cluster.
|
ClusterOperationV2Serverless |
getServerless()
Properties of a serverless cluster.
|
Date |
getStartTime()
The time at which operation was started.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClusterArn(String clusterArn)
ARN of the cluster.
|
void |
setClusterType(String clusterType)
Type of the backend cluster.
|
void |
setEndTime(Date endTime)
The time at which the operation finished.
|
void |
setErrorInfo(ErrorInfo errorInfo)
If cluster operation failed from an error, it describes the error.
|
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 |
setProvisioned(ClusterOperationV2Provisioned provisioned)
Properties of a provisioned cluster.
|
void |
setServerless(ClusterOperationV2Serverless serverless)
Properties of a serverless cluster.
|
void |
setStartTime(Date startTime)
The time at which operation was started.
|
String |
toString()
Returns a string representation of this object.
|
ClusterOperationV2 |
withClusterArn(String clusterArn)
ARN of the cluster.
|
ClusterOperationV2 |
withClusterType(ClusterType clusterType)
Type of the backend cluster.
|
ClusterOperationV2 |
withClusterType(String clusterType)
Type of the backend cluster.
|
ClusterOperationV2 |
withEndTime(Date endTime)
The time at which the operation finished.
|
ClusterOperationV2 |
withErrorInfo(ErrorInfo errorInfo)
If cluster operation failed from an error, it describes the error.
|
ClusterOperationV2 |
withOperationArn(String operationArn)
ARN of the cluster operation.
|
ClusterOperationV2 |
withOperationState(String operationState)
State of the cluster operation.
|
ClusterOperationV2 |
withOperationType(String operationType)
Type of the cluster operation.
|
ClusterOperationV2 |
withProvisioned(ClusterOperationV2Provisioned provisioned)
Properties of a provisioned cluster.
|
ClusterOperationV2 |
withServerless(ClusterOperationV2Serverless serverless)
Properties of a serverless cluster.
|
ClusterOperationV2 |
withStartTime(Date startTime)
The time at which operation was started.
|
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 ClusterOperationV2 withClusterArn(String clusterArn)
ARN of the cluster.
clusterArn
- ARN of the cluster.
public void setClusterType(String clusterType)
Type of the backend cluster.
clusterType
- Type of the backend cluster.
ClusterType
public String getClusterType()
Type of the backend cluster.
Type of the backend cluster.
ClusterType
public ClusterOperationV2 withClusterType(String clusterType)
Type of the backend cluster.
clusterType
- Type of the backend cluster.
ClusterType
public ClusterOperationV2 withClusterType(ClusterType clusterType)
Type of the backend cluster.
clusterType
- Type of the backend cluster.
ClusterType
public void setStartTime(Date startTime)
The time at which operation was started.
startTime
- The time at which operation was started.
public Date getStartTime()
The time at which operation was started.
The time at which operation was started.
public ClusterOperationV2 withStartTime(Date startTime)
The time at which operation was started.
startTime
- The time at which operation was started.
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 ClusterOperationV2 withEndTime(Date endTime)
The time at which the operation finished.
endTime
- The time at which the operation finished.
public void setErrorInfo(ErrorInfo errorInfo)
If cluster operation failed from an error, it describes the error.
errorInfo
- If cluster operation failed from an error, it describes the error.
public ErrorInfo getErrorInfo()
If cluster operation failed from an error, it describes the error.
If cluster operation failed from an error, it describes the error.
public ClusterOperationV2 withErrorInfo(ErrorInfo errorInfo)
If cluster operation failed from an error, it describes the error.
errorInfo
- If cluster operation failed from an error, it describes the error.
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 ClusterOperationV2 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 ClusterOperationV2 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 ClusterOperationV2 withOperationType(String operationType)
Type of the cluster operation.
operationType
- Type of the cluster operation.
public void setProvisioned(ClusterOperationV2Provisioned provisioned)
Properties of a provisioned cluster.
provisioned
- Properties of a provisioned cluster.
public ClusterOperationV2Provisioned getProvisioned()
Properties of a provisioned cluster.
Properties of a provisioned cluster.
public ClusterOperationV2 withProvisioned(ClusterOperationV2Provisioned provisioned)
Properties of a provisioned cluster.
provisioned
- Properties of a provisioned cluster.
public void setServerless(ClusterOperationV2Serverless serverless)
Properties of a serverless cluster.
serverless
- Properties of a serverless cluster.
public ClusterOperationV2Serverless getServerless()
Properties of a serverless cluster.
Properties of a serverless cluster.
public ClusterOperationV2 withServerless(ClusterOperationV2Serverless serverless)
Properties of a serverless cluster.
serverless
- Properties of a serverless cluster.
public String toString()
toString
in class Object
Object.toString()
public ClusterOperationV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.