Class KubernetesObjectValue.Builder
java.lang.Object
software.amazon.awscdk.services.eks.KubernetesObjectValue.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubernetesObjectValue>
- Enclosing class:
KubernetesObjectValue
@Stability(Stable)
public static final class KubernetesObjectValue.Builder
extends Object
implements software.amazon.jsii.Builder<KubernetesObjectValue>
A fluent builder for
KubernetesObjectValue
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The EKS cluster to fetch attributes from.JSONPath to the specific value.objectName
(String objectName) The name of the object to query.objectNamespace
(String objectNamespace) The namespace the object belongs to.objectType
(String objectType) The object type to query.Timeout for waiting on a value.
-
Method Details
-
create
@Stability(Stable) public static KubernetesObjectValue.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
KubernetesObjectValue.Builder
.
-
cluster
The EKS cluster to fetch attributes from.[disable-awslint:ref-via-interface]
- Parameters:
cluster
- The EKS cluster to fetch attributes from. This parameter is required.- Returns:
this
-
jsonPath
JSONPath to the specific value.- Parameters:
jsonPath
- JSONPath to the specific value. This parameter is required.- Returns:
this
- See Also:
-
objectName
The name of the object to query.- Parameters:
objectName
- The name of the object to query. This parameter is required.- Returns:
this
-
objectType
The object type to query.(e.g 'service', 'pod'...)
- Parameters:
objectType
- The object type to query. This parameter is required.- Returns:
this
-
objectNamespace
The namespace the object belongs to.Default: 'default'
- Parameters:
objectNamespace
- The namespace the object belongs to. This parameter is required.- Returns:
this
-
timeout
Timeout for waiting on a value.Default: Duration.minutes(5)
- Parameters:
timeout
- Timeout for waiting on a value. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubernetesObjectValue>
- Returns:
- a newly built instance of
KubernetesObjectValue
.
-