Class KubePodProps.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • metadata

        @Stability(Stable)
        public KubePodProps.Builder metadata​(ObjectMeta metadata)
        Sets the value of KubePodProps.getMetadata()
        Parameters:
        metadata - Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
        Returns:
        this
      • spec

        @Stability(Stable)
        public KubePodProps.Builder spec​(PodSpec spec)
        Sets the value of KubePodProps.getSpec()
        Parameters:
        spec - Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
        Returns:
        this
      • build

        @Stability(Stable)
        public KubePodProps build()
        Builds the configured instance.
        Specified by:
        build in interface software.amazon.jsii.Builder<KubePodProps>
        Returns:
        a new instance of KubePodProps
        Throws:
        NullPointerException - if any required attribute was not provided