Interface ConnectorProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectorProperty.Builder,ConnectorProperty>,SdkBuilder<ConnectorProperty.Builder,ConnectorProperty>,SdkPojo
- Enclosing class:
- ConnectorProperty
@Mutable @NotThreadSafe public static interface ConnectorProperty.Builder extends SdkPojo, CopyableBuilder<ConnectorProperty.Builder,ConnectorProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectorProperty.BuilderallowedValues(String... allowedValues)A list ofAllowedValueobjects representing the values allowed for the property.ConnectorProperty.BuilderallowedValues(Collection<String> allowedValues)A list ofAllowedValueobjects representing the values allowed for the property.ConnectorProperty.BuilderdefaultValue(String defaultValue)The default value for the property.ConnectorProperty.BuilderkeyOverride(String keyOverride)A key name to use when sending this property in API requests, if different from the display name.ConnectorProperty.Buildername(String name)The name of the property.ConnectorProperty.BuilderpropertyLocation(String propertyLocation)Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.ConnectorProperty.BuilderpropertyLocation(PropertyLocation propertyLocation)Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.ConnectorProperty.BuilderpropertyType(String propertyType)The data type of this propertyConnectorProperty.BuilderpropertyType(PropertyType propertyType)The data type of this propertyConnectorProperty.Builderrequired(Boolean required)Indicates whether the property is required.-
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
ConnectorProperty.Builder name(String name)
The name of the property.
- Parameters:
name- The name of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyOverride
ConnectorProperty.Builder keyOverride(String keyOverride)
A key name to use when sending this property in API requests, if different from the display name.
- Parameters:
keyOverride- A key name to use when sending this property in API requests, if different from the display name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
ConnectorProperty.Builder required(Boolean required)
Indicates whether the property is required.
- Parameters:
required- Indicates whether the property is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
ConnectorProperty.Builder defaultValue(String defaultValue)
The default value for the property.
- Parameters:
defaultValue- The default value for the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
ConnectorProperty.Builder allowedValues(Collection<String> allowedValues)
A list of
AllowedValueobjects representing the values allowed for the property.- Parameters:
allowedValues- A list ofAllowedValueobjects representing the values allowed for the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
ConnectorProperty.Builder allowedValues(String... allowedValues)
A list of
AllowedValueobjects representing the values allowed for the property.- Parameters:
allowedValues- A list ofAllowedValueobjects representing the values allowed for the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyLocation
ConnectorProperty.Builder propertyLocation(String propertyLocation)
Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.
- Parameters:
propertyLocation- Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyLocation,PropertyLocation
-
propertyLocation
ConnectorProperty.Builder propertyLocation(PropertyLocation propertyLocation)
Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.
- Parameters:
propertyLocation- Specifies where this property should be included in REST requests, such as in headers, query parameters, or request body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyLocation,PropertyLocation
-
propertyType
ConnectorProperty.Builder propertyType(String propertyType)
The data type of this property
- Parameters:
propertyType- The data type of this property- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyType,PropertyType
-
propertyType
ConnectorProperty.Builder propertyType(PropertyType propertyType)
The data type of this property
- Parameters:
propertyType- The data type of this property- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyType,PropertyType
-
-