Class UpdateAccountSettingsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.timestreamquery.model.TimestreamQueryRequest
-
- software.amazon.awssdk.services.timestreamquery.model.UpdateAccountSettingsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAccountSettingsRequest.Builder,UpdateAccountSettingsRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAccountSettingsRequest extends TimestreamQueryRequest implements ToCopyableBuilder<UpdateAccountSettingsRequest.Builder,UpdateAccountSettingsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAccountSettingsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAccountSettingsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxQueryTCU()The maximum number of compute units the service will use at any point in time to serve your queries.QueryComputeRequestqueryCompute()Modifies the query compute settings configured in your account, including the query pricing model and provisioned Timestream Compute Units (TCUs) in your account.QueryPricingModelqueryPricingModel()The pricing model for queries in an account.StringqueryPricingModelAsString()The pricing model for queries in an account.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateAccountSettingsRequest.Builder>serializableBuilderClass()UpdateAccountSettingsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
maxQueryTCU
public final Integer maxQueryTCU()
The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. The maximum value supported for
MaxQueryTCUis 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas. This configuration is applicable only for on-demand usage of Timestream Compute Units (TCUs).The maximum value supported for
MaxQueryTCUis 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota formaxQueryTCU, see Default quotas.- Returns:
- The maximum number of compute units the service will use at any point in time to serve your queries. To
run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples
of 4, for example, 4, 8, 16, 32, and so on. The maximum value supported for
MaxQueryTCUis 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas. This configuration is applicable only for on-demand usage of Timestream Compute Units (TCUs).The maximum value supported for
MaxQueryTCUis 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota formaxQueryTCU, see Default quotas.
-
queryPricingModel
public final QueryPricingModel queryPricingModel()
The pricing model for queries in an account.
The
QueryPricingModelparameter is used by several Timestream operations; however, theUpdateAccountSettingsAPI operation doesn't recognize any values other thanCOMPUTE_UNITS.If the service returns an enum value that is not available in the current SDK version,
queryPricingModelwill returnQueryPricingModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryPricingModelAsString().- Returns:
- The pricing model for queries in an account.
The
QueryPricingModelparameter is used by several Timestream operations; however, theUpdateAccountSettingsAPI operation doesn't recognize any values other thanCOMPUTE_UNITS. - See Also:
QueryPricingModel
-
queryPricingModelAsString
public final String queryPricingModelAsString()
The pricing model for queries in an account.
The
QueryPricingModelparameter is used by several Timestream operations; however, theUpdateAccountSettingsAPI operation doesn't recognize any values other thanCOMPUTE_UNITS.If the service returns an enum value that is not available in the current SDK version,
queryPricingModelwill returnQueryPricingModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryPricingModelAsString().- Returns:
- The pricing model for queries in an account.
The
QueryPricingModelparameter is used by several Timestream operations; however, theUpdateAccountSettingsAPI operation doesn't recognize any values other thanCOMPUTE_UNITS. - See Also:
QueryPricingModel
-
queryCompute
public final QueryComputeRequest queryCompute()
Modifies the query compute settings configured in your account, including the query pricing model and provisioned Timestream Compute Units (TCUs) in your account.
This API is idempotent, meaning that making the same request multiple times will have the same effect as making the request once.
- Returns:
- Modifies the query compute settings configured in your account, including the query pricing model and
provisioned Timestream Compute Units (TCUs) in your account.
This API is idempotent, meaning that making the same request multiple times will have the same effect as making the request once.
-
toBuilder
public UpdateAccountSettingsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAccountSettingsRequest.Builder,UpdateAccountSettingsRequest>- Specified by:
toBuilderin classTimestreamQueryRequest
-
builder
public static UpdateAccountSettingsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAccountSettingsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-