Class BasicAuthSecret.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static BasicAuthSecret.Builder create​(software.constructs.Construct scope,
                                                     String id)
        Parameters:
        scope - This parameter is required.
        id - This parameter is required.
        Returns:
        a new instance of BasicAuthSecret.Builder.
      • metadata

        @Stability(Stable)
        public BasicAuthSecret.Builder metadata​(org.cdk8s.ApiObjectMetadata metadata)
        Metadata that all persisted resources must have, which includes all objects users must create.

        Parameters:
        metadata - Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.
        Returns:
        this
      • password

        @Stability(Stable)
        public BasicAuthSecret.Builder password​(String password)
        The password or token for authentication.

        Parameters:
        password - The password or token for authentication. This parameter is required.
        Returns:
        this
      • username

        @Stability(Stable)
        public BasicAuthSecret.Builder username​(String username)
        The user name for authentication.

        Parameters:
        username - The user name for authentication. This parameter is required.
        Returns:
        this