Interface AttachDataSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AttachDataSourceResponse.Builder,,AttachDataSourceResponse> OpenSearchResponse.Builder,SdkBuilder<AttachDataSourceResponse.Builder,,AttachDataSourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AttachDataSourceResponse
@Mutable
@NotThreadSafe
public static interface AttachDataSourceResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<AttachDataSourceResponse.Builder,AttachDataSourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Arn property for this object.attachmentId(String attachmentId) The unique identifier assigned to the data source attachment.dataSourceArn(String dataSourceArn) Sets the value of the DataSourceArn property for this object.The unique identifier of the OpenSearch application.The status of the data source attachment.status(DataSourceAttachmentStatus status) The status of the data source attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
attachmentId
The unique identifier assigned to the data source attachment.
- Parameters:
attachmentId- The unique identifier assigned to the data source attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The unique identifier of the OpenSearch application.
- Parameters:
id- The unique identifier of the OpenSearch application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Sets the value of the Arn property for this object.- Parameters:
arn- The new value for the Arn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceArn
Sets the value of the DataSourceArn property for this object.- Parameters:
dataSourceArn- The new value for the DataSourceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the data source attachment. Valid values are
PENDING(waiting for resources to become active),ATTACHED(successfully attached), andFAILED(attachment timed out or encountered a non-retryable error).- Parameters:
status- The status of the data source attachment. Valid values arePENDING(waiting for resources to become active),ATTACHED(successfully attached), andFAILED(attachment timed out or encountered a non-retryable error).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the data source attachment. Valid values are
PENDING(waiting for resources to become active),ATTACHED(successfully attached), andFAILED(attachment timed out or encountered a non-retryable error).- Parameters:
status- The status of the data source attachment. Valid values arePENDING(waiting for resources to become active),ATTACHED(successfully attached), andFAILED(attachment timed out or encountered a non-retryable error).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-