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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeContextResponse.BuildercontextArn(String contextArn)The Amazon Resource Name (ARN) of the context.DescribeContextResponse.BuildercontextName(String contextName)The name of the context.DescribeContextResponse.BuildercontextType(String contextType)The type of the context.default DescribeContextResponse.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Sets the value of the CreatedBy property for this object.DescribeContextResponse.BuildercreatedBy(UserContext createdBy)Sets the value of the CreatedBy property for this object.DescribeContextResponse.BuildercreationTime(Instant creationTime)When the context was created.DescribeContextResponse.Builderdescription(String description)The description of the context.default DescribeContextResponse.BuilderlastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeContextResponse.BuilderlastModifiedBy(UserContext lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeContextResponse.BuilderlastModifiedTime(Instant lastModifiedTime)When the context was last modified.DescribeContextResponse.BuilderlineageGroupArn(String lineageGroupArn)The Amazon Resource Name (ARN) of the lineage group.DescribeContextResponse.Builderproperties(Map<String,String> properties)A list of the context's properties.default DescribeContextResponse.Buildersource(Consumer<ContextSource.Builder> source)The source of the context.DescribeContextResponse.Buildersource(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
contextName
DescribeContextResponse.Builder contextName(String 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
DescribeContextResponse.Builder contextArn(String 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
DescribeContextResponse.Builder source(ContextSource 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
default DescribeContextResponse.Builder source(Consumer<ContextSource.Builder> source)
The source of the context.
This is a convenience method that creates an instance of theContextSource.Builderavoiding the need to create one manually viaContextSource.builder().When the
Consumercompletes,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:
source(ContextSource)
-
contextType
DescribeContextResponse.Builder contextType(String 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
DescribeContextResponse.Builder description(String 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
DescribeContextResponse.Builder properties(Map<String,String> 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
DescribeContextResponse.Builder creationTime(Instant 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
DescribeContextResponse.Builder createdBy(UserContext 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
default DescribeContextResponse.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,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:
createdBy(UserContext)
-
lastModifiedTime
DescribeContextResponse.Builder lastModifiedTime(Instant 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
DescribeContextResponse.Builder lastModifiedBy(UserContext 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.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,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:
lastModifiedBy(UserContext)
-
lineageGroupArn
DescribeContextResponse.Builder lineageGroupArn(String 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.
-
-