Interface RSessionAppSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RSessionAppSettings.Builder,RSessionAppSettings>,SdkBuilder<RSessionAppSettings.Builder,RSessionAppSettings>,SdkPojo
- Enclosing class:
- RSessionAppSettings
public static interface RSessionAppSettings.Builder extends SdkPojo, CopyableBuilder<RSessionAppSettings.Builder,RSessionAppSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RSessionAppSettings.BuildercustomImages(Collection<CustomImage> customImages)A list of custom SageMaker AI images that are configured to run as a RSession app.RSessionAppSettings.BuildercustomImages(Consumer<CustomImage.Builder>... customImages)A list of custom SageMaker AI images that are configured to run as a RSession app.RSessionAppSettings.BuildercustomImages(CustomImage... customImages)A list of custom SageMaker AI images that are configured to run as a RSession app.default RSessionAppSettings.BuilderdefaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec)Sets the value of the DefaultResourceSpec property for this object.RSessionAppSettings.BuilderdefaultResourceSpec(ResourceSpec defaultResourceSpec)Sets the value of the DefaultResourceSpec property for this object.-
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
-
defaultResourceSpec
RSessionAppSettings.Builder defaultResourceSpec(ResourceSpec defaultResourceSpec)
Sets the value of the DefaultResourceSpec property for this object.- Parameters:
defaultResourceSpec- The new value for the DefaultResourceSpec property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultResourceSpec
default RSessionAppSettings.Builder defaultResourceSpec(Consumer<ResourceSpec.Builder> defaultResourceSpec)
Sets the value of the DefaultResourceSpec property for this object. This is a convenience method that creates an instance of theResourceSpec.Builderavoiding the need to create one manually viaResourceSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultResourceSpec(ResourceSpec).- Parameters:
defaultResourceSpec- 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:
defaultResourceSpec(ResourceSpec)
-
customImages
RSessionAppSettings.Builder customImages(Collection<CustomImage> customImages)
A list of custom SageMaker AI images that are configured to run as a RSession app.
- Parameters:
customImages- A list of custom SageMaker AI images that are configured to run as a RSession app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customImages
RSessionAppSettings.Builder customImages(CustomImage... customImages)
A list of custom SageMaker AI images that are configured to run as a RSession app.
- Parameters:
customImages- A list of custom SageMaker AI images that are configured to run as a RSession app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customImages
RSessionAppSettings.Builder customImages(Consumer<CustomImage.Builder>... customImages)
A list of custom SageMaker AI images that are configured to run as a RSession app.
This is a convenience method that creates an instance of theCustomImage.Builderavoiding the need to create one manually viaCustomImage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customImages(List.) - Parameters:
customImages- a consumer that will call methods onCustomImage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customImages(java.util.Collection)
-
-