Interface CreateIntegrationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateIntegrationResponse.Builder,CreateIntegrationResponse>
,RedshiftResponse.Builder
,SdkBuilder<CreateIntegrationResponse.Builder,CreateIntegrationResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateIntegrationResponse
public static interface CreateIntegrationResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<CreateIntegrationResponse.Builder,CreateIntegrationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateIntegrationResponse.Builder
additionalEncryptionContext(Map<String,String> additionalEncryptionContext)
The encryption context for the integration.CreateIntegrationResponse.Builder
createTime(Instant createTime)
The time (UTC) when the integration was created.CreateIntegrationResponse.Builder
description(String description)
The description of the integration.CreateIntegrationResponse.Builder
errors(Collection<IntegrationError> errors)
Any errors associated with the integration.CreateIntegrationResponse.Builder
errors(Consumer<IntegrationError.Builder>... errors)
Any errors associated with the integration.CreateIntegrationResponse.Builder
errors(IntegrationError... errors)
Any errors associated with the integration.CreateIntegrationResponse.Builder
integrationArn(String integrationArn)
The Amazon Resource Name (ARN) of the integration.CreateIntegrationResponse.Builder
integrationName(String integrationName)
The name of the integration.CreateIntegrationResponse.Builder
kmsKeyId(String kmsKeyId)
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.CreateIntegrationResponse.Builder
sourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the database used as the source for replication.CreateIntegrationResponse.Builder
status(String status)
The current status of the integration.CreateIntegrationResponse.Builder
status(ZeroETLIntegrationStatus status)
The current status of the integration.CreateIntegrationResponse.Builder
tags(Collection<Tag> tags)
The list of tags associated with the integration.CreateIntegrationResponse.Builder
tags(Consumer<Tag.Builder>... tags)
The list of tags associated with the integration.CreateIntegrationResponse.Builder
tags(Tag... tags)
The list of tags associated with the integration.CreateIntegrationResponse.Builder
targetArn(String targetArn)
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
integrationArn
CreateIntegrationResponse.Builder integrationArn(String integrationArn)
The Amazon Resource Name (ARN) of the integration.
- Parameters:
integrationArn
- The Amazon Resource Name (ARN) of the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrationName
CreateIntegrationResponse.Builder integrationName(String integrationName)
The name of the integration.
- Parameters:
integrationName
- The name of the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArn
CreateIntegrationResponse.Builder sourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the database used as the source for replication.
- Parameters:
sourceArn
- The Amazon Resource Name (ARN) of the database used as the source for replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
CreateIntegrationResponse.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.
- Parameters:
targetArn
- The Amazon Resource Name (ARN) of the Amazon Redshift data warehouse to use as the target for replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
CreateIntegrationResponse.Builder status(String status)
The current status of the integration.
- Parameters:
status
- The current status of the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZeroETLIntegrationStatus
,ZeroETLIntegrationStatus
-
status
CreateIntegrationResponse.Builder status(ZeroETLIntegrationStatus status)
The current status of the integration.
- Parameters:
status
- The current status of the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ZeroETLIntegrationStatus
,ZeroETLIntegrationStatus
-
errors
CreateIntegrationResponse.Builder errors(Collection<IntegrationError> errors)
Any errors associated with the integration.
- Parameters:
errors
- Any errors associated with the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
CreateIntegrationResponse.Builder errors(IntegrationError... errors)
Any errors associated with the integration.
- Parameters:
errors
- Any errors associated with the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
CreateIntegrationResponse.Builder errors(Consumer<IntegrationError.Builder>... errors)
Any errors associated with the integration.
This is a convenience method that creates an instance of theIntegrationError.Builder
avoiding the need to create one manually viaIntegrationError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#errors(List
.) - Parameters:
errors
- a consumer that will call methods onIntegrationError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection
)
-
createTime
CreateIntegrationResponse.Builder createTime(Instant createTime)
The time (UTC) when the integration was created.
- Parameters:
createTime
- The time (UTC) when the integration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateIntegrationResponse.Builder description(String description)
The description of the integration.
- Parameters:
description
- The description of the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
CreateIntegrationResponse.Builder kmsKeyId(String kmsKeyId)
The Key Management Service (KMS) key identifier for the key used to encrypt the integration.
- Parameters:
kmsKeyId
- The Key Management Service (KMS) key identifier for the key used to encrypt the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalEncryptionContext
CreateIntegrationResponse.Builder additionalEncryptionContext(Map<String,String> additionalEncryptionContext)
The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
- Parameters:
additionalEncryptionContext
- The encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateIntegrationResponse.Builder tags(Collection<Tag> tags)
The list of tags associated with the integration.
- Parameters:
tags
- The list of tags associated with the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateIntegrationResponse.Builder tags(Tag... tags)
The list of tags associated with the integration.
- Parameters:
tags
- The list of tags associated with the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateIntegrationResponse.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags associated with the integration.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
)
-
-