Package org.cdk8s.plus25.k8s
Interface StatusDetails
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StatusDetails.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.823Z") @Stability(Stable) public interface StatusDetails extends software.amazon.jsii.JsiiSerializable
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response.The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStatusDetails.BuilderA builder forStatusDetailsstatic classStatusDetails.Jsii$ProxyAn implementation forStatusDetails
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static StatusDetails.Builderbuilder()default List<StatusCause>getCauses()The Causes array includes more details associated with the StatusReason failure.default StringgetGroup()The group attribute of the resource associated with the status StatusReason.default StringgetKind()The kind attribute of the resource associated with the status StatusReason.default StringgetName()The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).default NumbergetRetryAfterSeconds()If specified, the time in seconds before the operation should be retried.default StringgetUid()UID of the resource.
-
-
-
Method Detail
-
getCauses
@Stability(Stable) @Nullable default List<StatusCause> getCauses()
The Causes array includes more details associated with the StatusReason failure.Not all StatusReasons may provide detailed causes.
-
getGroup
@Stability(Stable) @Nullable default String getGroup()
The group attribute of the resource associated with the status StatusReason.
-
getKind
@Stability(Stable) @Nullable default String getKind()
The kind attribute of the resource associated with the status StatusReason.On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getName
@Stability(Stable) @Nullable default String getName()
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
-
getRetryAfterSeconds
@Stability(Stable) @Nullable default Number getRetryAfterSeconds()
If specified, the time in seconds before the operation should be retried.Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
-
getUid
@Stability(Stable) @Nullable default String getUid()
UID of the resource.(when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids
-
builder
@Stability(Stable) static StatusDetails.Builder builder()
- Returns:
- a
StatusDetails.BuilderofStatusDetails
-
-