Class RoverCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.rover.model.RoverCluster.Builder
-
- Enclosing class:
- RoverCluster
public static class RoverCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoverClusterbuild()RoverCluster.BuilderclusterSize(Integer clusterSize)Size of the cluster.RoverCluster.BuilderclusterType(ClusterType clusterType)Type of cluster.RoverCluster.BuilderclusterWorkloads(List<RoverWorkload> clusterWorkloads)List of existing workloads that should be provisioned on the nodes.RoverCluster.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the RoverCluster.RoverCluster.Buildercopy(RoverCluster model)RoverCluster.BuildercustomerShippingAddress(ShippingAddress customerShippingAddress)RoverCluster.BuilderdataValidationCode(String dataValidationCode)Validation code returned by data validation tool.RoverCluster.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.RoverCluster.BuilderdeliveryTrackingInfo(String deliveryTrackingInfo)Tracking information for device shipping.RoverCluster.BuilderdisplayName(String displayName)A user-friendly name.RoverCluster.BuilderenclosureType(EnclosureType enclosureType)The type of enclosure rover nodes in this cluster are shipped in.RoverCluster.BuilderexteriorDoorCode(String exteriorDoorCode)Service generated code for the exterior trailer door of the trailer.RoverCluster.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.RoverCluster.Builderid(String id)The OCID of RoverCluster.RoverCluster.BuilderimageExportPar(String imageExportPar)The link to pre-authenticated request for a bucket where image workloads are moved.RoverCluster.BuilderimportCompartmentId(String importCompartmentId)An OCID of a compartment where data will be imported to upon Rover cluster return.RoverCluster.BuilderimportFileBucket(String importFileBucket)Name of a bucket where files from NFS share will be imported to upon Rover cluster return.RoverCluster.BuilderinteriorAlarmDisarmCode(String interiorAlarmDisarmCode)Service generated code to disarm the interior alarm of the trailer.RoverCluster.BuilderisImportRequested(Boolean isImportRequested)The flag indicating that customer requests data to be imported to OCI upon Rover cluster return.RoverCluster.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the RoverCluster.RoverCluster.BuilderlifecycleStateDetails(String lifecycleStateDetails)A property that can contain details on the lifecycle.RoverCluster.BuildermasterKeyId(String masterKeyId)Customer provided master key ID to encrypt secret information.RoverCluster.Buildernodes(List<RoverNodeSummary> nodes)The summary of nodes that are part of this cluster.RoverCluster.BuilderoracleShippingTrackingUrl(String oracleShippingTrackingUrl)Tracking Url for the shipped Rover Cluster.RoverCluster.BuilderpointOfContact(String pointOfContact)Name of point of contact for this order if customer is picking up.RoverCluster.BuilderpointOfContactPhoneNumber(String pointOfContactPhoneNumber)Phone number of point of contact for this order if customer is picking up.RoverCluster.BuilderreturnShippingLabelUri(String returnShippingLabelUri)Uri to download return shipping label.RoverCluster.BuildershippingPreference(RoverCluster.ShippingPreference shippingPreference)Preference for device delivery.RoverCluster.BuildershippingVendor(String shippingVendor)Shipping vendor of choice for orace to customer shipping.RoverCluster.BuildersubscriptionId(String subscriptionId)ID provided to customer after successful subscription to Rover Stations.RoverCluster.BuildersuperUserPassword(String superUserPassword)Root password for the rover cluster.RoverCluster.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.RoverCluster.Buildertags(String tags)The tags associated with tagSlug.RoverCluster.BuildertimeCreated(Date timeCreated)The time the the RoverCluster was created.RoverCluster.BuildertimeCustomerReceived(Date timeCustomerReceived)Time when customer received the cluster.RoverCluster.BuildertimeCustomerReturned(Date timeCustomerReturned)Time when customer returned the cluster.RoverCluster.BuildertimePickupExpected(Date timePickupExpected)Expected date when customer wants to pickup the device if they chose customer pickup.RoverCluster.BuildertimeReturnWindowEnds(Date timeReturnWindowEnds)End time for the window to pickup the device from customer.RoverCluster.BuildertimeReturnWindowStarts(Date timeReturnWindowStarts)Start time for the window to pickup the device from customer.RoverCluster.BuilderunlockPassphrase(String unlockPassphrase)Password to unlock the rover cluster.
-
-
-
Method Detail
-
id
public RoverCluster.Builder id(String id)
The OCID of RoverCluster.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public RoverCluster.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the RoverCluster.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public RoverCluster.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
clusterSize
public RoverCluster.Builder clusterSize(Integer clusterSize)
Size of the cluster.- Parameters:
clusterSize- the value to set- Returns:
- this builder
-
timeCreated
public RoverCluster.Builder timeCreated(Date timeCreated)
The time the the RoverCluster was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public RoverCluster.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the RoverCluster.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public RoverCluster.Builder lifecycleStateDetails(String lifecycleStateDetails)
A property that can contain details on the lifecycle.- Parameters:
lifecycleStateDetails- the value to set- Returns:
- this builder
-
customerShippingAddress
public RoverCluster.Builder customerShippingAddress(ShippingAddress customerShippingAddress)
-
nodes
public RoverCluster.Builder nodes(List<RoverNodeSummary> nodes)
The summary of nodes that are part of this cluster.- Parameters:
nodes- the value to set- Returns:
- this builder
-
enclosureType
public RoverCluster.Builder enclosureType(EnclosureType enclosureType)
The type of enclosure rover nodes in this cluster are shipped in.- Parameters:
enclosureType- the value to set- Returns:
- this builder
-
timeCustomerReceived
public RoverCluster.Builder timeCustomerReceived(Date timeCustomerReceived)
Time when customer received the cluster.- Parameters:
timeCustomerReceived- the value to set- Returns:
- this builder
-
timeCustomerReturned
public RoverCluster.Builder timeCustomerReturned(Date timeCustomerReturned)
Time when customer returned the cluster.- Parameters:
timeCustomerReturned- the value to set- Returns:
- this builder
-
deliveryTrackingInfo
public RoverCluster.Builder deliveryTrackingInfo(String deliveryTrackingInfo)
Tracking information for device shipping.- Parameters:
deliveryTrackingInfo- the value to set- Returns:
- this builder
-
clusterWorkloads
public RoverCluster.Builder clusterWorkloads(List<RoverWorkload> clusterWorkloads)
List of existing workloads that should be provisioned on the nodes.- Parameters:
clusterWorkloads- the value to set- Returns:
- this builder
-
clusterType
public RoverCluster.Builder clusterType(ClusterType clusterType)
Type of cluster.- Parameters:
clusterType- the value to set- Returns:
- this builder
-
subscriptionId
public RoverCluster.Builder subscriptionId(String subscriptionId)
ID provided to customer after successful subscription to Rover Stations.- Parameters:
subscriptionId- the value to set- Returns:
- this builder
-
exteriorDoorCode
public RoverCluster.Builder exteriorDoorCode(String exteriorDoorCode)
Service generated code for the exterior trailer door of the trailer.- Parameters:
exteriorDoorCode- the value to set- Returns:
- this builder
-
interiorAlarmDisarmCode
public RoverCluster.Builder interiorAlarmDisarmCode(String interiorAlarmDisarmCode)
Service generated code to disarm the interior alarm of the trailer.- Parameters:
interiorAlarmDisarmCode- the value to set- Returns:
- this builder
-
superUserPassword
public RoverCluster.Builder superUserPassword(String superUserPassword)
Root password for the rover cluster.- Parameters:
superUserPassword- the value to set- Returns:
- this builder
-
unlockPassphrase
public RoverCluster.Builder unlockPassphrase(String unlockPassphrase)
Password to unlock the rover cluster.- Parameters:
unlockPassphrase- the value to set- Returns:
- this builder
-
pointOfContact
public RoverCluster.Builder pointOfContact(String pointOfContact)
Name of point of contact for this order if customer is picking up.- Parameters:
pointOfContact- the value to set- Returns:
- this builder
-
pointOfContactPhoneNumber
public RoverCluster.Builder pointOfContactPhoneNumber(String pointOfContactPhoneNumber)
Phone number of point of contact for this order if customer is picking up.- Parameters:
pointOfContactPhoneNumber- the value to set- Returns:
- this builder
-
shippingPreference
public RoverCluster.Builder shippingPreference(RoverCluster.ShippingPreference shippingPreference)
Preference for device delivery.- Parameters:
shippingPreference- the value to set- Returns:
- this builder
-
oracleShippingTrackingUrl
public RoverCluster.Builder oracleShippingTrackingUrl(String oracleShippingTrackingUrl)
Tracking Url for the shipped Rover Cluster.- Parameters:
oracleShippingTrackingUrl- the value to set- Returns:
- this builder
-
shippingVendor
public RoverCluster.Builder shippingVendor(String shippingVendor)
Shipping vendor of choice for orace to customer shipping.- Parameters:
shippingVendor- the value to set- Returns:
- this builder
-
timePickupExpected
public RoverCluster.Builder timePickupExpected(Date timePickupExpected)
Expected date when customer wants to pickup the device if they chose customer pickup.- Parameters:
timePickupExpected- the value to set- Returns:
- this builder
-
timeReturnWindowStarts
public RoverCluster.Builder timeReturnWindowStarts(Date timeReturnWindowStarts)
Start time for the window to pickup the device from customer.- Parameters:
timeReturnWindowStarts- the value to set- Returns:
- this builder
-
timeReturnWindowEnds
public RoverCluster.Builder timeReturnWindowEnds(Date timeReturnWindowEnds)
End time for the window to pickup the device from customer.- Parameters:
timeReturnWindowEnds- the value to set- Returns:
- this builder
-
returnShippingLabelUri
public RoverCluster.Builder returnShippingLabelUri(String returnShippingLabelUri)
Uri to download return shipping label.- Parameters:
returnShippingLabelUri- the value to set- Returns:
- this builder
-
isImportRequested
public RoverCluster.Builder isImportRequested(Boolean isImportRequested)
The flag indicating that customer requests data to be imported to OCI upon Rover cluster return.- Parameters:
isImportRequested- the value to set- Returns:
- this builder
-
importCompartmentId
public RoverCluster.Builder importCompartmentId(String importCompartmentId)
An OCID of a compartment where data will be imported to upon Rover cluster return.- Parameters:
importCompartmentId- the value to set- Returns:
- this builder
-
importFileBucket
public RoverCluster.Builder importFileBucket(String importFileBucket)
Name of a bucket where files from NFS share will be imported to upon Rover cluster return.- Parameters:
importFileBucket- the value to set- Returns:
- this builder
-
dataValidationCode
public RoverCluster.Builder dataValidationCode(String dataValidationCode)
Validation code returned by data validation tool.Required for return shipping label generation if data import was requested.
- Parameters:
dataValidationCode- the value to set- Returns:
- this builder
-
imageExportPar
public RoverCluster.Builder imageExportPar(String imageExportPar)
The link to pre-authenticated request for a bucket where image workloads are moved.- Parameters:
imageExportPar- the value to set- Returns:
- this builder
-
masterKeyId
public RoverCluster.Builder masterKeyId(String masterKeyId)
Customer provided master key ID to encrypt secret information.If not provided, Rover’s master key will be used for encryption.
- Parameters:
masterKeyId- the value to set- Returns:
- this builder
-
tags
public RoverCluster.Builder tags(String tags)
The tags associated with tagSlug.- Parameters:
tags- the value to set- Returns:
- this builder
-
freeformTags
public RoverCluster.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public RoverCluster.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public RoverCluster.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public RoverCluster build()
-
copy
public RoverCluster.Builder copy(RoverCluster model)
-
-