Class KubernetesCoordinates.KubernetesCoordinatesBuilder
java.lang.Object
com.netflix.spinnaker.clouddriver.kubernetes.description.KubernetesCoordinates.KubernetesCoordinatesBuilder
- Enclosing class:
- KubernetesCoordinates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfullResourceName(String fullResourceName) Given a full resource name of the type "kind name" (ex: "pod my-rs-v003-mnop"), parses out the kind and the name, and sets the corresponding fields on the builder.
-
Constructor Details
-
KubernetesCoordinatesBuilder
public KubernetesCoordinatesBuilder()
-
-
Method Details
-
fullResourceName
Given a full resource name of the type "kind name" (ex: "pod my-rs-v003-mnop"), parses out the kind and the name, and sets the corresponding fields on the builder.- Parameters:
fullResourceName- the full resource name- Returns:
- this KubernetesCoordinatesBuilder object
- Throws:
IllegalArgumentException- if the input string does not contain exactly two tokens separated by a space
-