Class ContainerAnalysisNoteConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_analysis_note.ContainerAnalysisNoteConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAnalysisNoteConfig>
- Enclosing interface:
- ContainerAnalysisNoteConfig
@Stability(Stable) public static final class ContainerAnalysisNoteConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerAnalysisNoteConfig>
A builder forContainerAnalysisNoteConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
attestationAuthority
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder attestationAuthority(ContainerAnalysisNoteAttestationAuthority attestationAuthority)
Sets the value ofContainerAnalysisNoteConfig.getAttestationAuthority()- Parameters:
attestationAuthority- attestation_authority block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#attestation_authority ContainerAnalysisNote#attestation_authority}- Returns:
this
-
name
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder name(String name)
Sets the value ofContainerAnalysisNoteConfig.getName()- Parameters:
name- The name of the note. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#name ContainerAnalysisNote#name}- Returns:
this
-
expirationTime
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder expirationTime(String expirationTime)
Sets the value ofContainerAnalysisNoteConfig.getExpirationTime()- Parameters:
expirationTime- Time of expiration for this note. Leave empty if note does not expire. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#expiration_time ContainerAnalysisNote#expiration_time}- Returns:
this
-
id
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder id(String id)
Sets the value ofContainerAnalysisNoteConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#id ContainerAnalysisNote#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
longDescription
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder longDescription(String longDescription)
Sets the value ofContainerAnalysisNoteConfig.getLongDescription()- Parameters:
longDescription- A detailed description of the note. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#long_description ContainerAnalysisNote#long_description}- Returns:
this
-
project
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder project(String project)
Sets the value ofContainerAnalysisNoteConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#project ContainerAnalysisNote#project}.- Returns:
this
-
relatedNoteNames
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder relatedNoteNames(List<String> relatedNoteNames)
Sets the value ofContainerAnalysisNoteConfig.getRelatedNoteNames()- Parameters:
relatedNoteNames- Names of other notes related to this note. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#related_note_names ContainerAnalysisNote#related_note_names}- Returns:
this
-
relatedUrl
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder relatedUrl(com.hashicorp.cdktf.IResolvable relatedUrl)
Sets the value ofContainerAnalysisNoteConfig.getRelatedUrl()- Parameters:
relatedUrl- related_url block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#related_url ContainerAnalysisNote#related_url}- Returns:
this
-
relatedUrl
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder relatedUrl(List<? extends ContainerAnalysisNoteRelatedUrl> relatedUrl)
Sets the value ofContainerAnalysisNoteConfig.getRelatedUrl()- Parameters:
relatedUrl- related_url block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#related_url ContainerAnalysisNote#related_url}- Returns:
this
-
shortDescription
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder shortDescription(String shortDescription)
Sets the value ofContainerAnalysisNoteConfig.getShortDescription()- Parameters:
shortDescription- A one sentence description of the note. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#short_description ContainerAnalysisNote#short_description}- Returns:
this
-
timeouts
@Stability(Stable) public ContainerAnalysisNoteConfig.Builder timeouts(ContainerAnalysisNoteTimeouts timeouts)
Sets the value ofContainerAnalysisNoteConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_analysis_note#timeouts ContainerAnalysisNote#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public ContainerAnalysisNoteConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ContainerAnalysisNoteConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAnalysisNoteConfig>- Returns:
- a new instance of
ContainerAnalysisNoteConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-