Package com.pulumi.aws.cloudfront.inputs
Class PublicKeyState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudfront.inputs.PublicKeyState.Builder
-
- Enclosing class:
- PublicKeyState
public static final class PublicKeyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PublicKeyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeyStatebuild()PublicKeyState.BuildercallerReference(com.pulumi.core.Output<java.lang.String> callerReference)PublicKeyState.BuildercallerReference(java.lang.String callerReference)PublicKeyState.Buildercomment(com.pulumi.core.Output<java.lang.String> comment)PublicKeyState.Buildercomment(java.lang.String comment)PublicKeyState.BuilderencodedKey(com.pulumi.core.Output<java.lang.String> encodedKey)PublicKeyState.BuilderencodedKey(java.lang.String encodedKey)PublicKeyState.Builderetag(com.pulumi.core.Output<java.lang.String> etag)PublicKeyState.Builderetag(java.lang.String etag)PublicKeyState.Buildername(com.pulumi.core.Output<java.lang.String> name)PublicKeyState.Buildername(java.lang.String name)PublicKeyState.BuildernamePrefix(com.pulumi.core.Output<java.lang.String> namePrefix)PublicKeyState.BuildernamePrefix(java.lang.String namePrefix)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PublicKeyState defaults)
-
-
Method Detail
-
callerReference
public PublicKeyState.Builder callerReference(@Nullable com.pulumi.core.Output<java.lang.String> callerReference)
- Parameters:
callerReference- Internal value used by CloudFront to allow future updates to the public key configuration.- Returns:
- builder
-
callerReference
public PublicKeyState.Builder callerReference(java.lang.String callerReference)
- Parameters:
callerReference- Internal value used by CloudFront to allow future updates to the public key configuration.- Returns:
- builder
-
comment
public PublicKeyState.Builder comment(@Nullable com.pulumi.core.Output<java.lang.String> comment)
- Parameters:
comment- An optional comment about the public key.- Returns:
- builder
-
comment
public PublicKeyState.Builder comment(java.lang.String comment)
- Parameters:
comment- An optional comment about the public key.- Returns:
- builder
-
encodedKey
public PublicKeyState.Builder encodedKey(@Nullable com.pulumi.core.Output<java.lang.String> encodedKey)
- Parameters:
encodedKey- The encoded public key that you want to add to CloudFront to use with features like field-level encryption.- Returns:
- builder
-
encodedKey
public PublicKeyState.Builder encodedKey(java.lang.String encodedKey)
- Parameters:
encodedKey- The encoded public key that you want to add to CloudFront to use with features like field-level encryption.- Returns:
- builder
-
etag
public PublicKeyState.Builder etag(@Nullable com.pulumi.core.Output<java.lang.String> etag)
- Parameters:
etag- The current version of the public key. For example: `E2QWRUHAPOMQZL`.- Returns:
- builder
-
etag
public PublicKeyState.Builder etag(java.lang.String etag)
- Parameters:
etag- The current version of the public key. For example: `E2QWRUHAPOMQZL`.- Returns:
- builder
-
name
public PublicKeyState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. Instead, it is recommended to use Pulumi autonaming by leaving this property unset (default behavior) or set the `namePrefix` property to allow the provider to autoname the resource.- Returns:
- builder
-
name
public PublicKeyState.Builder name(java.lang.String name)
- Parameters:
name- The name for the public key. By default generated by this provider. Note: Do not set if using the key's id in another resource (e.g. KeyGroup) since it will result in a dependency error from AWS. Instead, it is recommended to use Pulumi autonaming by leaving this property unset (default behavior) or set the `namePrefix` property to allow the provider to autoname the resource.- Returns:
- builder
-
namePrefix
public PublicKeyState.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix- The name for the public key. Conflicts with `name`. **NOTE:** When setting `encodedKey` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `aws.cloudfront.PublicKey` resource.- Returns:
- builder
-
namePrefix
public PublicKeyState.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix- The name for the public key. Conflicts with `name`. **NOTE:** When setting `encodedKey` value, there needs a newline at the end of string. Otherwise, multiple runs of pulumi will want to recreate the `aws.cloudfront.PublicKey` resource.- Returns:
- builder
-
build
public PublicKeyState build()
-
-