B - Any instance type of the hierarchy of ReconfigureDetails.Builder, required to allow the
hierarchy in the builders.E - Any class extending of ReconfigureDetailspublic static class ReconfigureDetails.Builder<B extends ReconfigureDetails.Builder<B,E>,E extends ReconfigureDetails> extends EventDetails.Builder<B,E>
ReconfigureDetails.mapBuilder| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Initializes the builder.
|
| Modifier and Type | Method and Description |
|---|---|
E |
build()
Builds the
E event details. |
B |
coresPerSocketDiff(java.lang.String coresPerSocketDiff)
Sets the cores per socket diff of the reconfigure.
|
B |
cpuDiff(java.lang.String cpuDiff)
Sets the cpu diff of the reconfigure.
|
B |
dvdDiff(java.lang.String dvdDiff)
Sets the dvd diff of the reconfigure.
|
B |
ramDiff(java.lang.String ramDiff)
Sets the ram diff of the reconfigure.
|
B |
remoteAccessDiff(java.lang.String remoteAccessDiff)
Sets the remote access diff of the reconfigure.
|
protected B |
self()
Returns an instance of the specific builder.
|
messageArgs, messageArgsCollection, put, putpublic B cpuDiff(java.lang.String cpuDiff)
value - cpu diff of the reconfigureReconfigureDetails.Builderpublic B ramDiff(java.lang.String ramDiff)
value - ram diff of the reconfigureReconfigureDetails.Builderpublic B coresPerSocketDiff(java.lang.String coresPerSocketDiff)
coresPerSocketDiff - per socket diff of the reconfigureReconfigureDetails.Builderpublic B dvdDiff(java.lang.String dvdDiff)
dvdDiff - Must be not null or empty and one of these values: "+" and
"-", otherwise an IllegalArgumentException will be thrownReconfigureDetails.Builder{@link - IllegalArgumentException} with and invalid parameter dvdDiffpublic B remoteAccessDiff(java.lang.String remoteAccessDiff)
remoteAccessDiff - Must be not null or empty and one of these values: "+"
and "-", otherwise an IllegalArgumentException will be thrownReconfigureDetails.Builder{@link - IllegalArgumentException} with and invalid parameter
remoteAccessDiffpublic E build()
EventDetails.BuilderE event details.build in class EventDetails.Builder<B extends ReconfigureDetails.Builder<B,E>,E extends ReconfigureDetails>com.abiquo.events.model.details.EventDetails.DetailsBuilder#build()protected B self()
EventDetails.Builderself in class EventDetails.Builder<B extends ReconfigureDetails.Builder<B,E>,E extends ReconfigureDetails>com.abiquo.model.details.EventDetails.Builder#self()Copyright © 2008-2020 Abiquo Holdings S.L.. All Rights Reserved.