Class NoteState.Builder
- java.lang.Object
-
- com.pulumi.gcp.containeranalysis.inputs.NoteState.Builder
-
- Enclosing class:
- NoteState
public static final class NoteState.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NoteState.Builder
attestationAuthority(com.pulumi.core.Output<NoteAttestationAuthorityArgs> attestationAuthority)
NoteState.Builder
attestationAuthority(NoteAttestationAuthorityArgs attestationAuthority)
NoteState
build()
NoteState.Builder
createTime(com.pulumi.core.Output<java.lang.String> createTime)
NoteState.Builder
createTime(java.lang.String createTime)
NoteState.Builder
expirationTime(com.pulumi.core.Output<java.lang.String> expirationTime)
NoteState.Builder
expirationTime(java.lang.String expirationTime)
NoteState.Builder
kind(com.pulumi.core.Output<java.lang.String> kind)
NoteState.Builder
kind(java.lang.String kind)
NoteState.Builder
longDescription(com.pulumi.core.Output<java.lang.String> longDescription)
NoteState.Builder
longDescription(java.lang.String longDescription)
NoteState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
NoteState.Builder
name(java.lang.String name)
NoteState.Builder
project(com.pulumi.core.Output<java.lang.String> project)
NoteState.Builder
project(java.lang.String project)
NoteState.Builder
relatedNoteNames(com.pulumi.core.Output<java.util.List<java.lang.String>> relatedNoteNames)
NoteState.Builder
relatedNoteNames(java.lang.String... relatedNoteNames)
NoteState.Builder
relatedNoteNames(java.util.List<java.lang.String> relatedNoteNames)
NoteState.Builder
relatedUrls(com.pulumi.core.Output<java.util.List<NoteRelatedUrlArgs>> relatedUrls)
NoteState.Builder
relatedUrls(NoteRelatedUrlArgs... relatedUrls)
NoteState.Builder
relatedUrls(java.util.List<NoteRelatedUrlArgs> relatedUrls)
NoteState.Builder
shortDescription(com.pulumi.core.Output<java.lang.String> shortDescription)
NoteState.Builder
shortDescription(java.lang.String shortDescription)
NoteState.Builder
updateTime(com.pulumi.core.Output<java.lang.String> updateTime)
NoteState.Builder
updateTime(java.lang.String updateTime)
-
-
-
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
-
build
public NoteState build()
-
-