Class ClusterOperationV2
- java.lang.Object
-
- software.amazon.awssdk.services.kafka.model.ClusterOperationV2
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ClusterOperationV2.Builder,ClusterOperationV2>
@Generated("software.amazon.awssdk:codegen") public final class ClusterOperationV2 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterOperationV2.Builder,ClusterOperationV2>
Returns information about a cluster operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClusterOperationV2.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterOperationV2.Builder
builder()
String
clusterArn()
ARN of the cluster.ClusterType
clusterType()
Type of the backend cluster.String
clusterTypeAsString()
Type of the backend cluster.Instant
endTime()
The time at which the operation finished.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
ErrorInfo
errorInfo()
If cluster operation failed from an error, it describes the error.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
operationArn()
ARN of the cluster operation.String
operationState()
State of the cluster operation.String
operationType()
Type of the cluster operation.ClusterOperationV2Provisioned
provisioned()
Properties of a provisioned cluster.List<SdkField<?>>
sdkFields()
static Class<? extends ClusterOperationV2.Builder>
serializableBuilderClass()
ClusterOperationV2Serverless
serverless()
Properties of a serverless cluster.Instant
startTime()
The time at which operation was started.ClusterOperationV2.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterArn
public final String clusterArn()
ARN of the cluster.
- Returns:
ARN of the cluster.
-
clusterType
public final ClusterType clusterType()
Type of the backend cluster.
If the service returns an enum value that is not available in the current SDK version,
clusterType
will returnClusterType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromclusterTypeAsString()
.- Returns:
Type of the backend cluster.
- See Also:
ClusterType
-
clusterTypeAsString
public final String clusterTypeAsString()
Type of the backend cluster.
If the service returns an enum value that is not available in the current SDK version,
clusterType
will returnClusterType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromclusterTypeAsString()
.- Returns:
Type of the backend cluster.
- See Also:
ClusterType
-
startTime
public final Instant startTime()
The time at which operation was started.
- Returns:
The time at which operation was started.
-
endTime
public final Instant endTime()
The time at which the operation finished.
- Returns:
The time at which the operation finished.
-
errorInfo
public final ErrorInfo errorInfo()
If cluster operation failed from an error, it describes the error.
- Returns:
If cluster operation failed from an error, it describes the error.
-
operationArn
public final String operationArn()
ARN of the cluster operation.
- Returns:
ARN of the cluster operation.
-
operationState
public final String operationState()
State of the cluster operation.
- Returns:
State of the cluster operation.
-
operationType
public final String operationType()
Type of the cluster operation.
- Returns:
Type of the cluster operation.
-
provisioned
public final ClusterOperationV2Provisioned provisioned()
Properties of a provisioned cluster.
- Returns:
Properties of a provisioned cluster.
-
serverless
public final ClusterOperationV2Serverless serverless()
Properties of a serverless cluster.
- Returns:
Properties of a serverless cluster.
-
toBuilder
public ClusterOperationV2.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ClusterOperationV2.Builder,ClusterOperationV2>
-
builder
public static ClusterOperationV2.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterOperationV2.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-