Package com.pulumi.aws.pipes
Class PipeArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.pipes.PipeArgs.Builder
-
- Enclosing class:
- PipeArgs
public static final class PipeArgs.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipeArgsbuild()PipeArgs.Builderdescription(com.pulumi.core.Output<java.lang.String> description)PipeArgs.Builderdescription(java.lang.String description)PipeArgs.BuilderdesiredState(com.pulumi.core.Output<java.lang.String> desiredState)PipeArgs.BuilderdesiredState(java.lang.String desiredState)PipeArgs.Builderenrichment(com.pulumi.core.Output<java.lang.String> enrichment)PipeArgs.Builderenrichment(java.lang.String enrichment)PipeArgs.BuilderenrichmentParameters(PipeEnrichmentParametersArgs enrichmentParameters)PipeArgs.BuilderenrichmentParameters(com.pulumi.core.Output<PipeEnrichmentParametersArgs> enrichmentParameters)PipeArgs.BuilderkmsKeyIdentifier(com.pulumi.core.Output<java.lang.String> kmsKeyIdentifier)PipeArgs.BuilderkmsKeyIdentifier(java.lang.String kmsKeyIdentifier)PipeArgs.BuilderlogConfiguration(PipeLogConfigurationArgs logConfiguration)PipeArgs.BuilderlogConfiguration(com.pulumi.core.Output<PipeLogConfigurationArgs> logConfiguration)PipeArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)PipeArgs.Buildername(java.lang.String name)PipeArgs.BuildernamePrefix(com.pulumi.core.Output<java.lang.String> namePrefix)PipeArgs.BuildernamePrefix(java.lang.String namePrefix)PipeArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)PipeArgs.Builderregion(java.lang.String region)PipeArgs.BuilderroleArn(com.pulumi.core.Output<java.lang.String> roleArn)PipeArgs.BuilderroleArn(java.lang.String roleArn)PipeArgs.Buildersource(com.pulumi.core.Output<java.lang.String> source)PipeArgs.Buildersource(java.lang.String source)PipeArgs.BuildersourceParameters(PipeSourceParametersArgs sourceParameters)PipeArgs.BuildersourceParameters(com.pulumi.core.Output<PipeSourceParametersArgs> sourceParameters)PipeArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)PipeArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)PipeArgs.Buildertarget(com.pulumi.core.Output<java.lang.String> target)PipeArgs.Buildertarget(java.lang.String target)PipeArgs.BuildertargetParameters(PipeTargetParametersArgs targetParameters)PipeArgs.BuildertargetParameters(com.pulumi.core.Output<PipeTargetParametersArgs> targetParameters)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PipeArgs defaults)
-
-
Method Detail
-
description
public PipeArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the pipe. At most 512 characters.- Returns:
- builder
-
description
public PipeArgs.Builder description(java.lang.String description)
- Parameters:
description- Description of the pipe. At most 512 characters.- Returns:
- builder
-
desiredState
public PipeArgs.Builder desiredState(@Nullable com.pulumi.core.Output<java.lang.String> desiredState)
- Parameters:
desiredState- State the pipe should be in. One of: `RUNNING`, `STOPPED`.- Returns:
- builder
-
desiredState
public PipeArgs.Builder desiredState(java.lang.String desiredState)
- Parameters:
desiredState- State the pipe should be in. One of: `RUNNING`, `STOPPED`.- Returns:
- builder
-
enrichment
public PipeArgs.Builder enrichment(@Nullable com.pulumi.core.Output<java.lang.String> enrichment)
- Parameters:
enrichment- Enrichment resource of the pipe (typically an ARN). Read more about enrichment in the [User Guide](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-enrichment).- Returns:
- builder
-
enrichment
public PipeArgs.Builder enrichment(java.lang.String enrichment)
- Parameters:
enrichment- Enrichment resource of the pipe (typically an ARN). Read more about enrichment in the [User Guide](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html#pipes-enrichment).- Returns:
- builder
-
enrichmentParameters
public PipeArgs.Builder enrichmentParameters(@Nullable com.pulumi.core.Output<PipeEnrichmentParametersArgs> enrichmentParameters)
- Parameters:
enrichmentParameters- Parameters to configure enrichment for the pipe. See `enrichmentParameters` Block for details.- Returns:
- builder
-
enrichmentParameters
public PipeArgs.Builder enrichmentParameters(PipeEnrichmentParametersArgs enrichmentParameters)
- Parameters:
enrichmentParameters- Parameters to configure enrichment for the pipe. See `enrichmentParameters` Block for details.- Returns:
- builder
-
kmsKeyIdentifier
public PipeArgs.Builder kmsKeyIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyIdentifier)
- Parameters:
kmsKeyIdentifier- Identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt pipe data. The identifier can be the key ARN, KeyId, key alias, or key alias ARN. If not set, EventBridge uses an AWS owned key to encrypt pipe data.- Returns:
- builder
-
kmsKeyIdentifier
public PipeArgs.Builder kmsKeyIdentifier(java.lang.String kmsKeyIdentifier)
- Parameters:
kmsKeyIdentifier- Identifier of the AWS KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt pipe data. The identifier can be the key ARN, KeyId, key alias, or key alias ARN. If not set, EventBridge uses an AWS owned key to encrypt pipe data.- Returns:
- builder
-
logConfiguration
public PipeArgs.Builder logConfiguration(@Nullable com.pulumi.core.Output<PipeLogConfigurationArgs> logConfiguration)
- Parameters:
logConfiguration- Logging configuration settings for the pipe. See `logConfiguration` Block for details.- Returns:
- builder
-
logConfiguration
public PipeArgs.Builder logConfiguration(PipeLogConfigurationArgs logConfiguration)
- Parameters:
logConfiguration- Logging configuration settings for the pipe. See `logConfiguration` Block for details.- Returns:
- builder
-
name
public PipeArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the pipe. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.- Returns:
- builder
-
name
public PipeArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the pipe. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.- Returns:
- builder
-
namePrefix
public PipeArgs.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
namePrefix
public PipeArgs.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
region
public PipeArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public PipeArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
roleArn
public PipeArgs.Builder roleArn(com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn- ARN of the role that allows the pipe to send data to the target.- Returns:
- builder
-
roleArn
public PipeArgs.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn- ARN of the role that allows the pipe to send data to the target.- Returns:
- builder
-
source
public PipeArgs.Builder source(com.pulumi.core.Output<java.lang.String> source)
- Parameters:
source- Source resource of the pipe. This field typically requires an ARN. However, when using a self-managed Kafka cluster, you should use a different format. Instead of an ARN, use 'smk://' followed by the bootstrap server's address.- Returns:
- builder
-
source
public PipeArgs.Builder source(java.lang.String source)
- Parameters:
source- Source resource of the pipe. This field typically requires an ARN. However, when using a self-managed Kafka cluster, you should use a different format. Instead of an ARN, use 'smk://' followed by the bootstrap server's address.- Returns:
- builder
-
sourceParameters
public PipeArgs.Builder sourceParameters(@Nullable com.pulumi.core.Output<PipeSourceParametersArgs> sourceParameters)
- Parameters:
sourceParameters- Parameters to configure a source for the pipe. See `sourceParameters` Block for details.- Returns:
- builder
-
sourceParameters
public PipeArgs.Builder sourceParameters(PipeSourceParametersArgs sourceParameters)
- Parameters:
sourceParameters- Parameters to configure a source for the pipe. See `sourceParameters` Block for details.- Returns:
- builder
-
tags
public PipeArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public PipeArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
target
public PipeArgs.Builder target(com.pulumi.core.Output<java.lang.String> target)
- Parameters:
target- Target resource of the pipe (typically an ARN). The following arguments are optional:- Returns:
- builder
-
target
public PipeArgs.Builder target(java.lang.String target)
- Parameters:
target- Target resource of the pipe (typically an ARN). The following arguments are optional:- Returns:
- builder
-
targetParameters
public PipeArgs.Builder targetParameters(@Nullable com.pulumi.core.Output<PipeTargetParametersArgs> targetParameters)
- Parameters:
targetParameters- Parameters to configure a target for the pipe. See `targetParameters` Block for details.- Returns:
- builder
-
targetParameters
public PipeArgs.Builder targetParameters(PipeTargetParametersArgs targetParameters)
- Parameters:
targetParameters- Parameters to configure a target for the pipe. See `targetParameters` Block for details.- Returns:
- builder
-
build
public PipeArgs build()
-
-