Class BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.binary_authorization_attestor.BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys>
- Enclosing interface:
- BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys
@Stability(Stable) public static final class BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builder extends Object implements software.amazon.jsii.Builder<BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.BuilderasciiArmoredPgpPublicKey(String asciiArmoredPgpPublicKey)BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeysbuild()Builds the configured instance.BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Buildercomment(String comment)BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builderid(String id)Sets the value ofBinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.getId()BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.BuilderpkixPublicKey(BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeysPkixPublicKey pkixPublicKey)
-
-
-
Method Detail
-
asciiArmoredPgpPublicKey
@Stability(Stable) public BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builder asciiArmoredPgpPublicKey(String asciiArmoredPgpPublicKey)
Sets the value ofBinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.getAsciiArmoredPgpPublicKey()- Parameters:
asciiArmoredPgpPublicKey- ASCII-armored representation of a PGP public key, as the entire output by the command 'gpg --export --armor foo@example.com' (either LF or CRLF line endings). When using this field, id should be left blank. The BinAuthz API handlers will calculate the ID and fill it in automatically. BinAuthz computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as upper-case hex. If id is provided by the caller, it will be overwritten by the API-calculated ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_attestor#ascii_armored_pgp_public_key BinaryAuthorizationAttestor#ascii_armored_pgp_public_key}- Returns:
this
-
comment
@Stability(Stable) public BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builder comment(String comment)
- Parameters:
comment- A descriptive comment. This field may be updated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_attestor#comment BinaryAuthorizationAttestor#comment}- Returns:
this
-
id
@Stability(Stable) public BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builder id(String id)
Sets the value ofBinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.getId()- Parameters:
id- The ID of this public key. Signatures verified by BinAuthz must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. Additional restrictions on this field can be imposed based on which public key type is encapsulated. See the documentation on publicKey cases below for details. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_attestor#id BinaryAuthorizationAttestor#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
-
pkixPublicKey
@Stability(Stable) public BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys.Builder pkixPublicKey(BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeysPkixPublicKey pkixPublicKey)
- Parameters:
pkixPublicKey- pkix_public_key block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/binary_authorization_attestor#pkix_public_key BinaryAuthorizationAttestor#pkix_public_key}- Returns:
this
-
build
@Stability(Stable) public BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys>- Returns:
- a new instance of
BinaryAuthorizationAttestorAttestationAuthorityNotePublicKeys - Throws:
NullPointerException- if any required attribute was not provided
-
-