Interface FoundationModelLifecycle.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FoundationModelLifecycle.Builder,FoundationModelLifecycle>,SdkBuilder<FoundationModelLifecycle.Builder,FoundationModelLifecycle>,SdkPojo
- Enclosing class:
- FoundationModelLifecycle
@Mutable @NotThreadSafe public static interface FoundationModelLifecycle.Builder extends SdkPojo, CopyableBuilder<FoundationModelLifecycle.Builder,FoundationModelLifecycle>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FoundationModelLifecycle.BuilderendOfLifeTime(Instant endOfLifeTime)Time when the model is no longer available for useFoundationModelLifecycle.BuilderlegacyTime(Instant legacyTime)Time when the model enters legacy state.FoundationModelLifecycle.BuilderpublicExtendedAccessTime(Instant publicExtendedAccessTime)Public extended access portion of the legacy period, when users should expect higher pricingFoundationModelLifecycle.BuilderstartOfLifeTime(Instant startOfLifeTime)Launch time when the model first becomes availableFoundationModelLifecycle.Builderstatus(String status)Specifies whether a model version is available (ACTIVE) or deprecated (LEGACY.FoundationModelLifecycle.Builderstatus(FoundationModelLifecycleStatus status)Specifies whether a model version is available (ACTIVE) or deprecated (LEGACY.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
status
FoundationModelLifecycle.Builder status(String status)
Specifies whether a model version is available (
ACTIVE) or deprecated (LEGACY.- Parameters:
status- Specifies whether a model version is available (ACTIVE) or deprecated (LEGACY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FoundationModelLifecycleStatus,FoundationModelLifecycleStatus
-
status
FoundationModelLifecycle.Builder status(FoundationModelLifecycleStatus status)
Specifies whether a model version is available (
ACTIVE) or deprecated (LEGACY.- Parameters:
status- Specifies whether a model version is available (ACTIVE) or deprecated (LEGACY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FoundationModelLifecycleStatus,FoundationModelLifecycleStatus
-
startOfLifeTime
FoundationModelLifecycle.Builder startOfLifeTime(Instant startOfLifeTime)
Launch time when the model first becomes available
- Parameters:
startOfLifeTime- Launch time when the model first becomes available- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOfLifeTime
FoundationModelLifecycle.Builder endOfLifeTime(Instant endOfLifeTime)
Time when the model is no longer available for use
- Parameters:
endOfLifeTime- Time when the model is no longer available for use- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legacyTime
FoundationModelLifecycle.Builder legacyTime(Instant legacyTime)
Time when the model enters legacy state. Models in legacy state can still be used, but users should plan to transition to an Active model before the end of life time
- Parameters:
legacyTime- Time when the model enters legacy state. Models in legacy state can still be used, but users should plan to transition to an Active model before the end of life time- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicExtendedAccessTime
FoundationModelLifecycle.Builder publicExtendedAccessTime(Instant publicExtendedAccessTime)
Public extended access portion of the legacy period, when users should expect higher pricing
- Parameters:
publicExtendedAccessTime- Public extended access portion of the legacy period, when users should expect higher pricing- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-