Interface DescribeAppResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeAppResponse.Builder,
,DescribeAppResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeAppResponse.Builder,
,DescribeAppResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAppResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the app.The name of the app.The type of app.The type of app.creationTime
(Instant creationTime) The creation time of the application.The domain ID.failureReason
(String failureReason) The failure reason.lastHealthCheckTimestamp
(Instant lastHealthCheckTimestamp) The timestamp of the last health check.lastUserActivityTimestamp
(Instant lastUserActivityTimestamp) The timestamp of the last user's activity.default DescribeAppResponse.Builder
resourceSpec
(Consumer<ResourceSpec.Builder> resourceSpec) The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.resourceSpec
(ResourceSpec resourceSpec) The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.The name of the space.The status.The status.userProfileName
(String userProfileName) The user profile name.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
-
appArn
The Amazon Resource Name (ARN) of the app.
- Parameters:
appArn
- The Amazon Resource Name (ARN) of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appType
The type of app.
- Parameters:
appType
- The type of app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appType
The type of app.
- Parameters:
appType
- The type of app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appName
The name of the app.
- Parameters:
appName
- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The domain ID.
- Parameters:
domainId
- The domain ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userProfileName
The user profile name.
- Parameters:
userProfileName
- The user profile name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceName
The name of the space. If this value is not set, then
UserProfileName
must be set.- Parameters:
spaceName
- The name of the space. If this value is not set, thenUserProfileName
must be set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status.
- Parameters:
status
- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status.
- Parameters:
status
- The status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastHealthCheckTimestamp
The timestamp of the last health check.
- Parameters:
lastHealthCheckTimestamp
- The timestamp of the last health check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUserActivityTimestamp
The timestamp of the last user's activity.
LastUserActivityTimestamp
is also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value asLastHealthCheckTimestamp
.- Parameters:
lastUserActivityTimestamp
- The timestamp of the last user's activity.LastUserActivityTimestamp
is also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value asLastHealthCheckTimestamp
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The creation time of the application.
After an application has been shut down for 24 hours, SageMaker deletes all metadata for the application. To be considered an update and retain application metadata, applications must be restarted within 24 hours after the previous application has been shut down. After this time window, creation of an application is considered a new application rather than an update of the previous application.
- Parameters:
creationTime
- The creation time of the application.After an application has been shut down for 24 hours, SageMaker deletes all metadata for the application. To be considered an update and retain application metadata, applications must be restarted within 24 hours after the previous application has been shut down. After this time window, creation of an application is considered a new application rather than an update of the previous application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The failure reason.
- Parameters:
failureReason
- The failure reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpec
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
- Parameters:
resourceSpec
- The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpec
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
This is a convenience method that creates an instance of theResourceSpec.Builder
avoiding the need to create one manually viaResourceSpec.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceSpec(ResourceSpec)
.- Parameters:
resourceSpec
- a consumer that will call methods onResourceSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-