Interface DescribeContextResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeContextResponse.Builder,
,DescribeContextResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeContextResponse.Builder,
,DescribeContextResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeContextResponse
public static interface DescribeContextResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeContextResponse.Builder,DescribeContextResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontextArn
(String contextArn) The Amazon Resource Name (ARN) of the context.contextName
(String contextName) The name of the context.contextType
(String contextType) The type of the context.default DescribeContextResponse.Builder
createdBy
(Consumer<UserContext.Builder> createdBy) Sets the value of the CreatedBy property for this object.createdBy
(UserContext createdBy) Sets the value of the CreatedBy property for this object.creationTime
(Instant creationTime) When the context was created.description
(String description) The description of the context.default DescribeContextResponse.Builder
lastModifiedBy
(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedBy
(UserContext lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedTime
(Instant lastModifiedTime) When the context was last modified.lineageGroupArn
(String lineageGroupArn) The Amazon Resource Name (ARN) of the lineage group.properties
(Map<String, String> properties) A list of the context's properties.default DescribeContextResponse.Builder
source
(Consumer<ContextSource.Builder> source) The source of the context.source
(ContextSource source) The source of the context.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
contextName
The name of the context.
- Parameters:
contextName
- The name of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextArn
The Amazon Resource Name (ARN) of the context.
- Parameters:
contextArn
- The Amazon Resource Name (ARN) of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the context.
- Parameters:
source
- The source of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the context.
This is a convenience method that creates an instance of theContextSource.Builder
avoiding the need to create one manually viaContextSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ContextSource)
.- Parameters:
source
- a consumer that will call methods onContextSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextType
The type of the context.
- Parameters:
contextType
- The type of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the context.
- Parameters:
description
- The description of the context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
A list of the context's properties.
- Parameters:
properties
- A list of the context's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
When the context was created.
- Parameters:
creationTime
- When the context was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy
- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(UserContext)
.- Parameters:
createdBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
When the context was last modified.
- Parameters:
lastModifiedTime
- When the context was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy
- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default DescribeContextResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModifiedBy(UserContext)
.- Parameters:
lastModifiedBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lineageGroupArn
The Amazon Resource Name (ARN) of the lineage group.
- Parameters:
lineageGroupArn
- The Amazon Resource Name (ARN) of the lineage group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-