Class KubeRoleList.Builder

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

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

      • create

        @Stability(Stable)
        public static KubeRoleList.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 KubeRoleList.Builder.
      • items

        @Stability(Stable)
        public KubeRoleList.Builder items​(List<? extends KubeRoleProps> items)
        Items is a list of Roles.

        Parameters:
        items - Items is a list of Roles. This parameter is required.
        Returns:
        this
      • metadata

        @Stability(Stable)
        public KubeRoleList.Builder metadata​(ListMeta metadata)
        Standard object's metadata.

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

        @Stability(Stable)
        public KubeRoleList build()
        Specified by:
        build in interface software.amazon.jsii.Builder<KubeRoleList>
        Returns:
        a newly built instance of KubeRoleList.