Class ThroughputConfigUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ThroughputConfigUpdate
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ThroughputConfigUpdate.Builder,ThroughputConfigUpdate>
@Generated("software.amazon.awssdk:codegen") public final class ThroughputConfigUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThroughputConfigUpdate.Builder,ThroughputConfigUpdate>
The new throughput configuration for the feature group. You can switch between on-demand and provisioned modes or update the read / write capacity of provisioned feature groups. You can switch a feature group to on-demand only once in a 24 hour period.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ThroughputConfigUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThroughputConfigUpdate.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
provisionedReadCapacityUnits()
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.Integer
provisionedWriteCapacityUnits()
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ThroughputConfigUpdate.Builder>
serializableBuilderClass()
ThroughputMode
throughputMode()
Target throughput mode of the feature group.String
throughputModeAsString()
Target throughput mode of the feature group.ThroughputConfigUpdate.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
throughputMode
public final ThroughputMode throughputMode()
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling
LastUpdateStatus
field inDescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress.If the service returns an enum value that is not available in the current SDK version,
throughputMode
will returnThroughputMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromthroughputModeAsString()
.- Returns:
- Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the
outcome should be monitored by polling
LastUpdateStatus
field inDescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress. - See Also:
ThroughputMode
-
throughputModeAsString
public final String throughputModeAsString()
Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the outcome should be monitored by polling
LastUpdateStatus
field inDescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress.If the service returns an enum value that is not available in the current SDK version,
throughputMode
will returnThroughputMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromthroughputModeAsString()
.- Returns:
- Target throughput mode of the feature group. Throughput update is an asynchronous operation, and the
outcome should be monitored by polling
LastUpdateStatus
field inDescribeFeatureGroup
response. You cannot update a feature group's throughput while another update is in progress. - See Also:
ThroughputMode
-
provisionedReadCapacityUnits
public final Integer provisionedReadCapacityUnits()
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
- Returns:
- For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
-
provisionedWriteCapacityUnits
public final Integer provisionedWriteCapacityUnits()
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
- Returns:
- For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
-
toBuilder
public ThroughputConfigUpdate.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ThroughputConfigUpdate.Builder,ThroughputConfigUpdate>
-
builder
public static ThroughputConfigUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends ThroughputConfigUpdate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-