Class SshAuthSecret.Builder

    • Method Detail

      • create

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

        @Stability(Stable)
        public SshAuthSecret.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
      • immutable

        @Stability(Stable)
        public SshAuthSecret.Builder immutable​(Boolean immutable)
        If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

        If not set to true, the field can be modified at any time.

        Default: false

        Parameters:
        immutable - If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). This parameter is required.
        Returns:
        this
      • sshPrivateKey

        @Stability(Stable)
        public SshAuthSecret.Builder sshPrivateKey​(String sshPrivateKey)
        The SSH private key to use.

        Parameters:
        sshPrivateKey - The SSH private key to use. This parameter is required.
        Returns:
        this