Module io.helidon.integrations.oci
Package io.helidon.integrations.oci
Class ImdsInstanceInfo.BuilderBase<BUILDER extends ImdsInstanceInfo.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ImdsInstanceInfo>
java.lang.Object
io.helidon.integrations.oci.ImdsInstanceInfo.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,,PROTOTYPE> ConfigBuilderSupport.ConfiguredBuilder<BUILDER,,PROTOTYPE> ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
- Direct Known Subclasses:
ImdsInstanceInfo.Builder
- Enclosing interface:
ImdsInstanceInfo
public abstract static class ImdsInstanceInfo.BuilderBase<BUILDER extends ImdsInstanceInfo.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ImdsInstanceInfo>
extends Object
implements ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
Fluent API builder base for
ImdsInstanceInfo.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCanonical Region Name.canonicalRegionName(String canonicalRegionName) Canonical Region Name.Compartment Id.compartmentId(String compartmentId) Compartment Id.config()Configuration used to configure this instance.Deprecated.Update builder from configuration (node of this type).Display Name.displayName(String displayName) Display Name.Fault Domain Name.faultDomain(String faultDomain) Fault Domain Name.from(ImdsInstanceInfo prototype) Update this builder from an existing prototype instance.from(ImdsInstanceInfo.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.hostName()Host Name.Host Name.Instance Data.jsonObject(JsonObject jsonObject) Instance Data.Oci Availability Domain Name.Oci Availability Domain Name.protected voidHandles providers and decorators.region()Region Name.Region Name.tenantId()Tenant Id.Tenant Id.toString()protected voidValidates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
config
Deprecated.Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends ImdsInstanceInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ImdsInstanceInfo> - Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
config
Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends ImdsInstanceInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ImdsInstanceInfo> - Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
displayName
Display Name.- Parameters:
displayName- Display Name of the Instance- Returns:
- updated builder instance
- See Also:
-
hostName
Host Name.- Parameters:
hostName- Host Name of the Instance- Returns:
- updated builder instance
- See Also:
-
canonicalRegionName
Canonical Region Name.- Parameters:
canonicalRegionName- Canonical Region Name of where the Instance exists- Returns:
- updated builder instance
- See Also:
-
region
Region Name.- Parameters:
region- Short Region Name of where the Instance exists- Returns:
- updated builder instance
- See Also:
-
ociAdName
Oci Availability Domain Name.- Parameters:
ociAdName- Physical Availaibility Domain Name where the Instance exists- Returns:
- updated builder instance
- See Also:
-
faultDomain
Fault Domain Name.- Parameters:
faultDomain- Fault Domain Name where the Instance exists- Returns:
- updated builder instance
- See Also:
-
compartmentId
Compartment Id.- Parameters:
compartmentId- Compartment Id where the Instance was provisioned.- Returns:
- updated builder instance
- See Also:
-
tenantId
Tenant Id.- Parameters:
tenantId- Tenant Id where the Instance was provisioned.- Returns:
- updated builder instance
- See Also:
-
jsonObject
Instance Data.- Parameters:
jsonObject- Full information about the Instance as aJsonObject- Returns:
- updated builder instance
- See Also:
-
displayName
Display Name.- Returns:
- Display Name of the Instance
-
hostName
Host Name.- Returns:
- Host Name of the Instance
-
canonicalRegionName
Canonical Region Name.- Returns:
- Canonical Region Name of where the Instance exists
-
region
Region Name.- Returns:
- Short Region Name of where the Instance exists
-
ociAdName
Oci Availability Domain Name.- Returns:
- Physical Availaibility Domain Name where the Instance exists
-
faultDomain
Fault Domain Name.- Returns:
- Fault Domain Name where the Instance exists
-
compartmentId
Compartment Id.- Returns:
- Compartment Id where the Instance was provisioned.
-
tenantId
Tenant Id.- Returns:
- Tenant Id where the Instance was provisioned.
-
jsonObject
Instance Data.- Returns:
- Full information about the Instance as a
JsonObject
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties. -
config
Configuration used to configure this instance.- Returns:
- config instance
-
config(io.helidon.config.Config)