Class KubeBinding.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<KubeBinding>
    Enclosing class:
    KubeBinding

    @Stability(Stable)
    public static final class KubeBinding.Builder
    extends Object
    implements software.amazon.jsii.Builder<KubeBinding>
    A fluent builder for KubeBinding.
    • Method Detail

      • create

        @Stability(Stable)
        public static KubeBinding.Builder create​(software.constructs.Construct scope,
                                                 String id)
        Parameters:
        scope - the scope in which to define this object. This parameter is required.
        id - a scope-local name for the object. This parameter is required.
        Returns:
        a new instance of KubeBinding.Builder.
      • target

        @Stability(Stable)
        public KubeBinding.Builder target​(ObjectReference target)
        The target object that you want to bind to the standard object.

        Parameters:
        target - The target object that you want to bind to the standard object. This parameter is required.
        Returns:
        this
      • metadata

        @Stability(Stable)
        public KubeBinding.Builder metadata​(ObjectMeta metadata)
        Standard object's metadata.

        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

        Parameters:
        metadata - Standard object's metadata. This parameter is required.
        Returns:
        this
      • build

        @Stability(Stable)
        public KubeBinding build()
        Specified by:
        build in interface software.amazon.jsii.Builder<KubeBinding>