Interface Pipeline.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Pipeline.Builder,Pipeline>,SdkBuilder<Pipeline.Builder,Pipeline>,SdkPojo
- Enclosing class:
- Pipeline
public static interface Pipeline.Builder extends SdkPojo, CopyableBuilder<Pipeline.Builder,Pipeline>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Pipeline.BuilderbufferOptions(Consumer<BufferOptions.Builder> bufferOptions)Sets the value of the BufferOptions property for this object.Pipeline.BuilderbufferOptions(BufferOptions bufferOptions)Sets the value of the BufferOptions property for this object.Pipeline.BuildercreatedAt(Instant createdAt)The date and time when the pipeline was created.Pipeline.Builderdestinations(Collection<PipelineDestination> destinations)Destinations to which the pipeline writes data.Pipeline.Builderdestinations(Consumer<PipelineDestination.Builder>... destinations)Destinations to which the pipeline writes data.Pipeline.Builderdestinations(PipelineDestination... destinations)Destinations to which the pipeline writes data.default Pipeline.BuilderencryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions)Sets the value of the EncryptionAtRestOptions property for this object.Pipeline.BuilderencryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)Sets the value of the EncryptionAtRestOptions property for this object.Pipeline.BuilderingestEndpointUrls(String... ingestEndpointUrls)The ingestion endpoints for the pipeline, which you can send data to.Pipeline.BuilderingestEndpointUrls(Collection<String> ingestEndpointUrls)The ingestion endpoints for the pipeline, which you can send data to.Pipeline.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when the pipeline was last updated.default Pipeline.BuilderlogPublishingOptions(Consumer<LogPublishingOptions.Builder> logPublishingOptions)Key-value pairs that represent log publishing settings.Pipeline.BuilderlogPublishingOptions(LogPublishingOptions logPublishingOptions)Key-value pairs that represent log publishing settings.Pipeline.BuildermaxUnits(Integer maxUnits)The maximum pipeline capacity, in Ingestion Compute Units (ICUs).Pipeline.BuilderminUnits(Integer minUnits)The minimum pipeline capacity, in Ingestion Compute Units (ICUs).Pipeline.BuilderpipelineArn(String pipelineArn)The Amazon Resource Name (ARN) of the pipeline.Pipeline.BuilderpipelineConfigurationBody(String pipelineConfigurationBody)The Data Prepper pipeline configuration in YAML format.Pipeline.BuilderpipelineName(String pipelineName)The name of the pipeline.Pipeline.BuilderserviceVpcEndpoints(Collection<ServiceVpcEndpoint> serviceVpcEndpoints)A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.Pipeline.BuilderserviceVpcEndpoints(Consumer<ServiceVpcEndpoint.Builder>... serviceVpcEndpoints)A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.Pipeline.BuilderserviceVpcEndpoints(ServiceVpcEndpoint... serviceVpcEndpoints)A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.Pipeline.Builderstatus(String status)The current status of the pipeline.Pipeline.Builderstatus(PipelineStatus status)The current status of the pipeline.default Pipeline.BuilderstatusReason(Consumer<PipelineStatusReason.Builder> statusReason)The reason for the current status of the pipeline.Pipeline.BuilderstatusReason(PipelineStatusReason statusReason)The reason for the current status of the pipeline.Pipeline.Buildertags(Collection<Tag> tags)A list of tags associated with the given pipeline.Pipeline.Buildertags(Consumer<Tag.Builder>... tags)A list of tags associated with the given pipeline.Pipeline.Buildertags(Tag... tags)A list of tags associated with the given pipeline.Pipeline.BuildervpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)The VPC interface endpoints that have access to the pipeline.Pipeline.BuildervpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)The VPC interface endpoints that have access to the pipeline.Pipeline.BuildervpcEndpoints(VpcEndpoint... vpcEndpoints)The VPC interface endpoints that have access to the pipeline.Pipeline.BuildervpcEndpointService(String vpcEndpointService)The VPC endpoint service name for the pipeline.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
pipelineName
Pipeline.Builder pipelineName(String pipelineName)
The name of the pipeline.
- Parameters:
pipelineName- The name of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineArn
Pipeline.Builder pipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
- Parameters:
pipelineArn- The Amazon Resource Name (ARN) of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minUnits
Pipeline.Builder minUnits(Integer minUnits)
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
- Parameters:
minUnits- The minimum pipeline capacity, in Ingestion Compute Units (ICUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxUnits
Pipeline.Builder maxUnits(Integer maxUnits)
The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
- Parameters:
maxUnits- The maximum pipeline capacity, in Ingestion Compute Units (ICUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Pipeline.Builder status(String status)
The current status of the pipeline.
- Parameters:
status- The current status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineStatus,PipelineStatus
-
status
Pipeline.Builder status(PipelineStatus status)
The current status of the pipeline.
- Parameters:
status- The current status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineStatus,PipelineStatus
-
statusReason
Pipeline.Builder statusReason(PipelineStatusReason statusReason)
The reason for the current status of the pipeline.
- Parameters:
statusReason- The reason for the current status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
default Pipeline.Builder statusReason(Consumer<PipelineStatusReason.Builder> statusReason)
The reason for the current status of the pipeline.
This is a convenience method that creates an instance of thePipelineStatusReason.Builderavoiding the need to create one manually viaPipelineStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusReason(PipelineStatusReason).- Parameters:
statusReason- a consumer that will call methods onPipelineStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
statusReason(PipelineStatusReason)
-
pipelineConfigurationBody
Pipeline.Builder pipelineConfigurationBody(String pipelineConfigurationBody)
The Data Prepper pipeline configuration in YAML format.
- Parameters:
pipelineConfigurationBody- The Data Prepper pipeline configuration in YAML format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Pipeline.Builder createdAt(Instant createdAt)
The date and time when the pipeline was created.
- Parameters:
createdAt- The date and time when the pipeline was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
Pipeline.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the pipeline was last updated.
- Parameters:
lastUpdatedAt- The date and time when the pipeline was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestEndpointUrls
Pipeline.Builder ingestEndpointUrls(Collection<String> ingestEndpointUrls)
The ingestion endpoints for the pipeline, which you can send data to.
- Parameters:
ingestEndpointUrls- The ingestion endpoints for the pipeline, which you can send data to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestEndpointUrls
Pipeline.Builder ingestEndpointUrls(String... ingestEndpointUrls)
The ingestion endpoints for the pipeline, which you can send data to.
- Parameters:
ingestEndpointUrls- The ingestion endpoints for the pipeline, which you can send data to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingOptions
Pipeline.Builder logPublishingOptions(LogPublishingOptions logPublishingOptions)
Key-value pairs that represent log publishing settings.
- Parameters:
logPublishingOptions- Key-value pairs that represent log publishing settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingOptions
default Pipeline.Builder logPublishingOptions(Consumer<LogPublishingOptions.Builder> logPublishingOptions)
Key-value pairs that represent log publishing settings.
This is a convenience method that creates an instance of theLogPublishingOptions.Builderavoiding the need to create one manually viaLogPublishingOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologPublishingOptions(LogPublishingOptions).- Parameters:
logPublishingOptions- a consumer that will call methods onLogPublishingOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logPublishingOptions(LogPublishingOptions)
-
vpcEndpoints
Pipeline.Builder vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
The VPC interface endpoints that have access to the pipeline.
- Parameters:
vpcEndpoints- The VPC interface endpoints that have access to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Pipeline.Builder vpcEndpoints(VpcEndpoint... vpcEndpoints)
The VPC interface endpoints that have access to the pipeline.
- Parameters:
vpcEndpoints- The VPC interface endpoints that have access to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Pipeline.Builder vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
The VPC interface endpoints that have access to the pipeline.
This is a convenience method that creates an instance of theVpcEndpoint.Builderavoiding the need to create one manually viaVpcEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcEndpoints(List.) - Parameters:
vpcEndpoints- a consumer that will call methods onVpcEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#vpcEndpoints(java.util.Collection)
-
bufferOptions
Pipeline.Builder bufferOptions(BufferOptions bufferOptions)
Sets the value of the BufferOptions property for this object.- Parameters:
bufferOptions- The new value for the BufferOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bufferOptions
default Pipeline.Builder bufferOptions(Consumer<BufferOptions.Builder> bufferOptions)
Sets the value of the BufferOptions property for this object. This is a convenience method that creates an instance of theBufferOptions.Builderavoiding the need to create one manually viaBufferOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobufferOptions(BufferOptions).- Parameters:
bufferOptions- a consumer that will call methods onBufferOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bufferOptions(BufferOptions)
-
encryptionAtRestOptions
Pipeline.Builder encryptionAtRestOptions(EncryptionAtRestOptions encryptionAtRestOptions)
Sets the value of the EncryptionAtRestOptions property for this object.- Parameters:
encryptionAtRestOptions- The new value for the EncryptionAtRestOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionAtRestOptions
default Pipeline.Builder encryptionAtRestOptions(Consumer<EncryptionAtRestOptions.Builder> encryptionAtRestOptions)
Sets the value of the EncryptionAtRestOptions property for this object. This is a convenience method that creates an instance of theEncryptionAtRestOptions.Builderavoiding the need to create one manually viaEncryptionAtRestOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionAtRestOptions(EncryptionAtRestOptions).- Parameters:
encryptionAtRestOptions- a consumer that will call methods onEncryptionAtRestOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionAtRestOptions(EncryptionAtRestOptions)
-
vpcEndpointService
Pipeline.Builder vpcEndpointService(String vpcEndpointService)
The VPC endpoint service name for the pipeline.
- Parameters:
vpcEndpointService- The VPC endpoint service name for the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceVpcEndpoints
Pipeline.Builder serviceVpcEndpoints(Collection<ServiceVpcEndpoint> serviceVpcEndpoints)
A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.
- Parameters:
serviceVpcEndpoints- A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceVpcEndpoints
Pipeline.Builder serviceVpcEndpoints(ServiceVpcEndpoint... serviceVpcEndpoints)
A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.
- Parameters:
serviceVpcEndpoints- A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceVpcEndpoints
Pipeline.Builder serviceVpcEndpoints(Consumer<ServiceVpcEndpoint.Builder>... serviceVpcEndpoints)
A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.
This is a convenience method that creates an instance of theServiceVpcEndpoint.Builderavoiding the need to create one manually viaServiceVpcEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serviceVpcEndpoints(List.) - Parameters:
serviceVpcEndpoints- a consumer that will call methods onServiceVpcEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serviceVpcEndpoints(java.util.Collection)
-
destinations
Pipeline.Builder destinations(Collection<PipelineDestination> destinations)
Destinations to which the pipeline writes data.
- Parameters:
destinations- Destinations to which the pipeline writes data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Pipeline.Builder destinations(PipelineDestination... destinations)
Destinations to which the pipeline writes data.
- Parameters:
destinations- Destinations to which the pipeline writes data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Pipeline.Builder destinations(Consumer<PipelineDestination.Builder>... destinations)
Destinations to which the pipeline writes data.
This is a convenience method that creates an instance of thePipelineDestination.Builderavoiding the need to create one manually viaPipelineDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#destinations(List.) - Parameters:
destinations- a consumer that will call methods onPipelineDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#destinations(java.util.Collection)
-
tags
Pipeline.Builder tags(Collection<Tag> tags)
A list of tags associated with the given pipeline.
- Parameters:
tags- A list of tags associated with the given pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Pipeline.Builder tags(Tag... tags)
A list of tags associated with the given pipeline.
- Parameters:
tags- A list of tags associated with the given pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Pipeline.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags associated with the given pipeline.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-