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 interfaceClusterOperationV2.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterOperationV2.Builderbuilder()StringclusterArn()ARN of the cluster.ClusterTypeclusterType()Type of the backend cluster.StringclusterTypeAsString()Type of the backend cluster.InstantendTime()The time at which the operation finished.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorInfoerrorInfo()If cluster operation failed from an error, it describes the error.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoperationArn()ARN of the cluster operation.StringoperationState()State of the cluster operation.StringoperationType()Type of the cluster operation.ClusterOperationV2Provisionedprovisioned()Properties of a provisioned cluster.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ClusterOperationV2.Builder>serializableBuilderClass()ClusterOperationV2Serverlessserverless()Properties of a serverless cluster.InstantstartTime()The time at which operation was started.ClusterOperationV2.BuildertoBuilder()StringtoString()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,
clusterTypewill 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,
clusterTypewill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-