Interface DateTimeParameterDeclaration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DateTimeParameterDeclaration.Builder,DateTimeParameterDeclaration>,SdkBuilder<DateTimeParameterDeclaration.Builder,DateTimeParameterDeclaration>,SdkPojo
- Enclosing class:
- DateTimeParameterDeclaration
@Mutable @NotThreadSafe public static interface DateTimeParameterDeclaration.Builder extends SdkPojo, CopyableBuilder<DateTimeParameterDeclaration.Builder,DateTimeParameterDeclaration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DateTimeParameterDeclaration.BuilderdefaultValues(Consumer<DateTimeDefaultValues.Builder> defaultValues)The default values of a parameter.DateTimeParameterDeclaration.BuilderdefaultValues(DateTimeDefaultValues defaultValues)The default values of a parameter.DateTimeParameterDeclaration.BuildermappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters)Sets the value of the MappedDataSetParameters property for this object.DateTimeParameterDeclaration.BuildermappedDataSetParameters(Consumer<MappedDataSetParameter.Builder>... mappedDataSetParameters)Sets the value of the MappedDataSetParameters property for this object.DateTimeParameterDeclaration.BuildermappedDataSetParameters(MappedDataSetParameter... mappedDataSetParameters)Sets the value of the MappedDataSetParameters property for this object.DateTimeParameterDeclaration.Buildername(String name)The name of the parameter that is being declared.DateTimeParameterDeclaration.BuildertimeGranularity(String timeGranularity)The level of time precision that is used to aggregateDateTimevalues.DateTimeParameterDeclaration.BuildertimeGranularity(TimeGranularity timeGranularity)The level of time precision that is used to aggregateDateTimevalues.default DateTimeParameterDeclaration.BuildervalueWhenUnset(Consumer<DateTimeValueWhenUnsetConfiguration.Builder> valueWhenUnset)The configuration that defines the default value of aDateTimeparameter when a value has not been set.DateTimeParameterDeclaration.BuildervalueWhenUnset(DateTimeValueWhenUnsetConfiguration valueWhenUnset)The configuration that defines the default value of aDateTimeparameter when a value has not been set.-
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
-
name
DateTimeParameterDeclaration.Builder name(String name)
The name of the parameter that is being declared.
- Parameters:
name- The name of the parameter that is being declared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValues
DateTimeParameterDeclaration.Builder defaultValues(DateTimeDefaultValues defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
- Parameters:
defaultValues- The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValues
default DateTimeParameterDeclaration.Builder defaultValues(Consumer<DateTimeDefaultValues.Builder> defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
This is a convenience method that creates an instance of theDateTimeDefaultValues.Builderavoiding the need to create one manually viaDateTimeDefaultValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultValues(DateTimeDefaultValues).- Parameters:
defaultValues- a consumer that will call methods onDateTimeDefaultValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultValues(DateTimeDefaultValues)
-
timeGranularity
DateTimeParameterDeclaration.Builder timeGranularity(String timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
timeGranularity
DateTimeParameterDeclaration.Builder timeGranularity(TimeGranularity timeGranularity)
The level of time precision that is used to aggregate
DateTimevalues.- Parameters:
timeGranularity- The level of time precision that is used to aggregateDateTimevalues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeGranularity,TimeGranularity
-
valueWhenUnset
DateTimeParameterDeclaration.Builder valueWhenUnset(DateTimeValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a
DateTimeparameter when a value has not been set.- Parameters:
valueWhenUnset- The configuration that defines the default value of aDateTimeparameter when a value has not been set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueWhenUnset
default DateTimeParameterDeclaration.Builder valueWhenUnset(Consumer<DateTimeValueWhenUnsetConfiguration.Builder> valueWhenUnset)
The configuration that defines the default value of a
This is a convenience method that creates an instance of theDateTimeparameter when a value has not been set.DateTimeValueWhenUnsetConfiguration.Builderavoiding the need to create one manually viaDateTimeValueWhenUnsetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalueWhenUnset(DateTimeValueWhenUnsetConfiguration).- Parameters:
valueWhenUnset- a consumer that will call methods onDateTimeValueWhenUnsetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
valueWhenUnset(DateTimeValueWhenUnsetConfiguration)
-
mappedDataSetParameters
DateTimeParameterDeclaration.Builder mappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters)
Sets the value of the MappedDataSetParameters property for this object.- Parameters:
mappedDataSetParameters- The new value for the MappedDataSetParameters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappedDataSetParameters
DateTimeParameterDeclaration.Builder mappedDataSetParameters(MappedDataSetParameter... mappedDataSetParameters)
Sets the value of the MappedDataSetParameters property for this object.- Parameters:
mappedDataSetParameters- The new value for the MappedDataSetParameters property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mappedDataSetParameters
DateTimeParameterDeclaration.Builder mappedDataSetParameters(Consumer<MappedDataSetParameter.Builder>... mappedDataSetParameters)
Sets the value of the MappedDataSetParameters property for this object. This is a convenience method that creates an instance of theMappedDataSetParameter.Builderavoiding the need to create one manually viaMappedDataSetParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#mappedDataSetParameters(List.) - Parameters:
mappedDataSetParameters- a consumer that will call methods onMappedDataSetParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#mappedDataSetParameters(java.util.Collection)
-
-