Class MaintenanceConfiguration
java.lang.Object
software.amazon.awssdk.services.mediaconnect.model.MaintenanceConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MaintenanceConfiguration.Builder,MaintenanceConfiguration>
@Generated("software.amazon.awssdk:codegen")
public final class MaintenanceConfiguration
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<MaintenanceConfiguration.Builder,MaintenanceConfiguration>
The configuration settings for maintenance operations, including preferred maintenance windows and schedules.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Default maintenance configuration settings.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static MaintenanceConfigurationfromDefaultValue(Consumer<DefaultMaintenanceConfiguration.Builder> defaultValue) Create an instance of this class withdefaultValue()initialized to the given value.static MaintenanceConfigurationfromDefaultValue(DefaultMaintenanceConfiguration defaultValue) Create an instance of this class withdefaultValue()initialized to the given value.static MaintenanceConfigurationfromPreferredDayTime(Consumer<PreferredDayTimeMaintenanceConfiguration.Builder> preferredDayTime) Create an instance of this class withpreferredDayTime()initialized to the given value.static MaintenanceConfigurationfromPreferredDayTime(PreferredDayTimeMaintenanceConfiguration preferredDayTime) Create an instance of this class withpreferredDayTime()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()Preferred day and time maintenance configuration settings.static Class<? extends MaintenanceConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
preferredDayTime
Preferred day and time maintenance configuration settings.
- Returns:
- Preferred day and time maintenance configuration settings.
-
defaultValue
Default maintenance configuration settings.
- Returns:
- Default maintenance configuration settings.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MaintenanceConfiguration.Builder,MaintenanceConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromPreferredDayTime
public static MaintenanceConfiguration fromPreferredDayTime(PreferredDayTimeMaintenanceConfiguration preferredDayTime) Create an instance of this class withpreferredDayTime()initialized to the given value.Preferred day and time maintenance configuration settings.
- Parameters:
preferredDayTime- Preferred day and time maintenance configuration settings.
-
fromPreferredDayTime
public static MaintenanceConfiguration fromPreferredDayTime(Consumer<PreferredDayTimeMaintenanceConfiguration.Builder> preferredDayTime) Create an instance of this class withpreferredDayTime()initialized to the given value.Preferred day and time maintenance configuration settings.
- Parameters:
preferredDayTime- Preferred day and time maintenance configuration settings.
-
fromDefaultValue
public static MaintenanceConfiguration fromDefaultValue(DefaultMaintenanceConfiguration defaultValue) Create an instance of this class withdefaultValue()initialized to the given value.Default maintenance configuration settings.
- Parameters:
defaultValue- Default maintenance configuration settings.
-
fromDefaultValue
public static MaintenanceConfiguration fromDefaultValue(Consumer<DefaultMaintenanceConfiguration.Builder> defaultValue) Create an instance of this class withdefaultValue()initialized to the given value.Default maintenance configuration settings.
- Parameters:
defaultValue- Default maintenance configuration settings.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beMaintenanceConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beMaintenanceConfiguration.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-