Interface DateTimeParameterDeclaration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DateTimeParameterDeclaration.Builder,,DateTimeParameterDeclaration> SdkBuilder<DateTimeParameterDeclaration.Builder,,DateTimeParameterDeclaration> SdkPojo
- Enclosing class:
DateTimeParameterDeclaration
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValues(Consumer<DateTimeDefaultValues.Builder> defaultValues) The default values of a parameter.defaultValues(DateTimeDefaultValues defaultValues) The default values of a parameter.mappedDataSetParameters(Collection<MappedDataSetParameter> mappedDataSetParameters) Sets the value of the MappedDataSetParameters property for this object.mappedDataSetParameters(Consumer<MappedDataSetParameter.Builder>... mappedDataSetParameters) Sets the value of the MappedDataSetParameters property for this object.mappedDataSetParameters(MappedDataSetParameter... mappedDataSetParameters) Sets the value of the MappedDataSetParameters property for this object.The name of the parameter that is being declared.timeGranularity(String timeGranularity) The level of time precision that is used to aggregateDateTimevalues.timeGranularity(TimeGranularity timeGranularity) The level of time precision that is used to aggregateDateTimevalues.valueWhenUnset(Consumer<DateTimeValueWhenUnsetConfiguration.Builder> valueWhenUnset) The configuration that defines the default value of aDateTimeparameter when a value has not been set.valueWhenUnset(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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:
-
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 tomappedDataSetParameters(List<MappedDataSetParameter>).- 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:
-