Class NoteState.Builder

  • Enclosing class:
    NoteState

    public static final class NoteState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(NoteState defaults)
    • Method Detail

      • attestationAuthority

        public NoteState.Builder attestationAuthority​(@Nullable
                                                      com.pulumi.core.Output<NoteAttestationAuthorityArgs> attestationAuthority)
        Parameters:
        attestationAuthority - Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one AttestationAuthority for "QA" and one for "build". This Note is intended to act strictly as a grouping mechanism for the attached Occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an Occurrence to a given Note. It also provides a single point of lookup to find all attached Attestation Occurrences, even if they don't all live in the same project. Structure is documented below.
        Returns:
        builder
      • attestationAuthority

        public NoteState.Builder attestationAuthority​(NoteAttestationAuthorityArgs attestationAuthority)
        Parameters:
        attestationAuthority - Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one AttestationAuthority for "QA" and one for "build". This Note is intended to act strictly as a grouping mechanism for the attached Occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an Occurrence to a given Note. It also provides a single point of lookup to find all attached Attestation Occurrences, even if they don't all live in the same project. Structure is documented below.
        Returns:
        builder
      • createTime

        public NoteState.Builder createTime​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - The time this note was created.
        Returns:
        builder
      • createTime

        public NoteState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - The time this note was created.
        Returns:
        builder
      • expirationTime

        public NoteState.Builder expirationTime​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> expirationTime)
        Parameters:
        expirationTime - Time of expiration for this note. Leave empty if note does not expire.
        Returns:
        builder
      • expirationTime

        public NoteState.Builder expirationTime​(java.lang.String expirationTime)
        Parameters:
        expirationTime - Time of expiration for this note. Leave empty if note does not expire.
        Returns:
        builder
      • kind

        public NoteState.Builder kind​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> kind)
        Parameters:
        kind - The type of analysis this note describes
        Returns:
        builder
      • kind

        public NoteState.Builder kind​(java.lang.String kind)
        Parameters:
        kind - The type of analysis this note describes
        Returns:
        builder
      • longDescription

        public NoteState.Builder longDescription​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> longDescription)
        Parameters:
        longDescription - A detailed description of the note
        Returns:
        builder
      • longDescription

        public NoteState.Builder longDescription​(java.lang.String longDescription)
        Parameters:
        longDescription - A detailed description of the note
        Returns:
        builder
      • name

        public NoteState.Builder name​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the note.
        Returns:
        builder
      • name

        public NoteState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the note.
        Returns:
        builder
      • project

        public NoteState.Builder project​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public NoteState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • relatedNoteNames

        public NoteState.Builder relatedNoteNames​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> relatedNoteNames)
        Parameters:
        relatedNoteNames - Names of other notes related to this note.
        Returns:
        builder
      • relatedNoteNames

        public NoteState.Builder relatedNoteNames​(java.util.List<java.lang.String> relatedNoteNames)
        Parameters:
        relatedNoteNames - Names of other notes related to this note.
        Returns:
        builder
      • relatedNoteNames

        public NoteState.Builder relatedNoteNames​(java.lang.String... relatedNoteNames)
        Parameters:
        relatedNoteNames - Names of other notes related to this note.
        Returns:
        builder
      • relatedUrls

        public NoteState.Builder relatedUrls​(@Nullable
                                             com.pulumi.core.Output<java.util.List<NoteRelatedUrlArgs>> relatedUrls)
        Parameters:
        relatedUrls - URLs associated with this note and related metadata. Structure is documented below.
        Returns:
        builder
      • relatedUrls

        public NoteState.Builder relatedUrls​(java.util.List<NoteRelatedUrlArgs> relatedUrls)
        Parameters:
        relatedUrls - URLs associated with this note and related metadata. Structure is documented below.
        Returns:
        builder
      • relatedUrls

        public NoteState.Builder relatedUrls​(NoteRelatedUrlArgs... relatedUrls)
        Parameters:
        relatedUrls - URLs associated with this note and related metadata. Structure is documented below.
        Returns:
        builder
      • shortDescription

        public NoteState.Builder shortDescription​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> shortDescription)
        Parameters:
        shortDescription - A one sentence description of the note.
        Returns:
        builder
      • shortDescription

        public NoteState.Builder shortDescription​(java.lang.String shortDescription)
        Parameters:
        shortDescription - A one sentence description of the note.
        Returns:
        builder
      • updateTime

        public NoteState.Builder updateTime​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - The time this note was last updated.
        Returns:
        builder
      • updateTime

        public NoteState.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - The time this note was last updated.
        Returns:
        builder