Package com.pulumi.aws.kms.inputs
Class CiphertextState.Builder
- java.lang.Object
-
- com.pulumi.aws.kms.inputs.CiphertextState.Builder
-
- Enclosing class:
- CiphertextState
public static final class CiphertextState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CiphertextState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CiphertextState
build()
CiphertextState.Builder
ciphertextBlob(com.pulumi.core.Output<java.lang.String> ciphertextBlob)
CiphertextState.Builder
ciphertextBlob(java.lang.String ciphertextBlob)
CiphertextState.Builder
context(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> context)
CiphertextState.Builder
context(java.util.Map<java.lang.String,java.lang.String> context)
CiphertextState.Builder
keyId(com.pulumi.core.Output<java.lang.String> keyId)
CiphertextState.Builder
keyId(java.lang.String keyId)
CiphertextState.Builder
plaintext(com.pulumi.core.Output<java.lang.String> plaintext)
CiphertextState.Builder
plaintext(java.lang.String plaintext)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CiphertextState defaults)
-
-
Method Detail
-
ciphertextBlob
public CiphertextState.Builder ciphertextBlob(@Nullable com.pulumi.core.Output<java.lang.String> ciphertextBlob)
- Parameters:
ciphertextBlob
- Base64 encoded ciphertext- Returns:
- builder
-
ciphertextBlob
public CiphertextState.Builder ciphertextBlob(java.lang.String ciphertextBlob)
- Parameters:
ciphertextBlob
- Base64 encoded ciphertext- Returns:
- builder
-
context
public CiphertextState.Builder context(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> context)
- Parameters:
context
- An optional mapping that makes up the encryption context.- Returns:
- builder
-
context
public CiphertextState.Builder context(java.util.Map<java.lang.String,java.lang.String> context)
- Parameters:
context
- An optional mapping that makes up the encryption context.- Returns:
- builder
-
keyId
public CiphertextState.Builder keyId(@Nullable com.pulumi.core.Output<java.lang.String> keyId)
- Parameters:
keyId
- Globally unique key ID for the customer master key.- Returns:
- builder
-
keyId
public CiphertextState.Builder keyId(java.lang.String keyId)
- Parameters:
keyId
- Globally unique key ID for the customer master key.- Returns:
- builder
-
plaintext
public CiphertextState.Builder plaintext(@Nullable com.pulumi.core.Output<java.lang.String> plaintext)
- Parameters:
plaintext
- Data to be encrypted. Note that this may show up in logs, and it will be stored in the state file.- Returns:
- builder
-
plaintext
public CiphertextState.Builder plaintext(java.lang.String plaintext)
- Parameters:
plaintext
- Data to be encrypted. Note that this may show up in logs, and it will be stored in the state file.- Returns:
- builder
-
build
public CiphertextState build()
-
-