Class EndpointSetting
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.EndpointSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EndpointSetting.Builder,EndpointSetting>
@Generated("software.amazon.awssdk:codegen") public final class EndpointSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointSetting.Builder,EndpointSetting>
Endpoint settings.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapplicability()The relevance or validity of an endpoint setting for an engine name and its endpoint type.static EndpointSetting.Builderbuilder()StringdefaultValue()The default value of the endpoint setting if no value is specified usingCreateEndpointorModifyEndpoint.List<String>enumValues()Enumerated values to use for this endpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasEnumValues()For responses, this returns true if the service returned a value for the EnumValues property.inthashCode()IntegerintValueMax()The maximum value of an endpoint setting that is of typeint.IntegerintValueMin()The minimum value of an endpoint setting that is of typeint.Stringname()The name that you want to give the endpoint settings.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()Booleansensitive()A value that marks this endpoint setting as sensitive.static Class<? extends EndpointSetting.Builder>serializableBuilderClass()EndpointSetting.BuildertoBuilder()StringtoString()Returns a string representation of this object.EndpointSettingTypeValuetype()The type of endpoint.StringtypeAsString()The type of endpoint.Stringunits()The unit of measure for this endpoint setting.-
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
-
name
public final String name()
The name that you want to give the endpoint settings.
- Returns:
- The name that you want to give the endpoint settings.
-
type
public final EndpointSettingTypeValue type()
The type of endpoint. Valid values are
sourceandtarget.If the service returns an enum value that is not available in the current SDK version,
typewill returnEndpointSettingTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of endpoint. Valid values are
sourceandtarget. - See Also:
EndpointSettingTypeValue
-
typeAsString
public final String typeAsString()
The type of endpoint. Valid values are
sourceandtarget.If the service returns an enum value that is not available in the current SDK version,
typewill returnEndpointSettingTypeValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of endpoint. Valid values are
sourceandtarget. - See Also:
EndpointSettingTypeValue
-
hasEnumValues
public final boolean hasEnumValues()
For responses, this returns true if the service returned a value for the EnumValues property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
enumValues
public final List<String> enumValues()
Enumerated values to use for this endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasEnumValues()method.- Returns:
- Enumerated values to use for this endpoint.
-
sensitive
public final Boolean sensitive()
A value that marks this endpoint setting as sensitive.
- Returns:
- A value that marks this endpoint setting as sensitive.
-
units
public final String units()
The unit of measure for this endpoint setting.
- Returns:
- The unit of measure for this endpoint setting.
-
applicability
public final String applicability()
The relevance or validity of an endpoint setting for an engine name and its endpoint type.
- Returns:
- The relevance or validity of an endpoint setting for an engine name and its endpoint type.
-
intValueMin
public final Integer intValueMin()
The minimum value of an endpoint setting that is of type
int.- Returns:
- The minimum value of an endpoint setting that is of type
int.
-
intValueMax
public final Integer intValueMax()
The maximum value of an endpoint setting that is of type
int.- Returns:
- The maximum value of an endpoint setting that is of type
int.
-
defaultValue
public final String defaultValue()
The default value of the endpoint setting if no value is specified using
CreateEndpointorModifyEndpoint.- Returns:
- The default value of the endpoint setting if no value is specified using
CreateEndpointorModifyEndpoint.
-
toBuilder
public EndpointSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EndpointSetting.Builder,EndpointSetting>
-
builder
public static EndpointSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends EndpointSetting.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
-
-