Class OpeningHoursComponents
- java.lang.Object
-
- software.amazon.awssdk.services.geoplaces.model.OpeningHoursComponents
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OpeningHoursComponents.Builder,OpeningHoursComponents>
@Generated("software.amazon.awssdk:codegen") public final class OpeningHoursComponents extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpeningHoursComponents.Builder,OpeningHoursComponents>
Components of the opening hours object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOpeningHoursComponents.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpeningHoursComponents.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringopenDuration()String which represents the duration of the opening period, such as"PT12H00M".StringopenTime()String which represents the opening hours, such as"T070000".Stringrecurrence()Days or periods when the provided opening hours are in affect.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OpeningHoursComponents.Builder>serializableBuilderClass()OpeningHoursComponents.BuildertoBuilder()StringtoString()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
-
openTime
public final String openTime()
String which represents the opening hours, such as
"T070000".- Returns:
- String which represents the opening hours, such as
"T070000".
-
openDuration
public final String openDuration()
String which represents the duration of the opening period, such as
"PT12H00M".- Returns:
- String which represents the duration of the opening period, such as
"PT12H00M".
-
recurrence
public final String recurrence()
Days or periods when the provided opening hours are in affect.
Example:
FREQ:DAILY;BYDAY:MO,TU,WE,TH,SU- Returns:
- Days or periods when the provided opening hours are in affect.
Example:
FREQ:DAILY;BYDAY:MO,TU,WE,TH,SU
-
toBuilder
public OpeningHoursComponents.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OpeningHoursComponents.Builder,OpeningHoursComponents>
-
builder
public static OpeningHoursComponents.Builder builder()
-
serializableBuilderClass
public static Class<? extends OpeningHoursComponents.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-