Class BandwidthProperties
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1.BandwidthProperties
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BandwidthPropertiesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BandwidthProperties extends Object implements io.fabric8.kubernetes.api.builder.Editable<BandwidthPropertiesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Bandwidth describes the bandwidth strategy for the network of the instance- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BandwidthProperties()No args constructor for use in serializationBandwidthProperties(Long internetMaxBandwidthIn, Long internetMaxBandwidthOut)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BandwidthPropertiesBuilderedit()Map<String,Object>getAdditionalProperties()LonggetInternetMaxBandwidthIn()internetMaxBandwidthIn is the maximum inbound public bandwidth.LonggetInternetMaxBandwidthOut()internetMaxBandwidthOut is the maximum outbound public bandwidth.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetInternetMaxBandwidthIn(Long internetMaxBandwidthIn)internetMaxBandwidthIn is the maximum inbound public bandwidth.voidsetInternetMaxBandwidthOut(Long internetMaxBandwidthOut)internetMaxBandwidthOut is the maximum outbound public bandwidth.BandwidthPropertiesBuildertoBuilder()
-
-
-
Method Detail
-
getInternetMaxBandwidthIn
public Long getInternetMaxBandwidthIn()
internetMaxBandwidthIn is the maximum inbound public bandwidth. Unit: Mbit/s. Valid values: When the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10. Currently the default is `10` when outbound bandwidth is less than or equal to 10 Mbit/s. When the purchased outbound public bandwidth is greater than 10, the valid values are 1 to the InternetMaxBandwidthOut value. Currently the default is the value used for `InternetMaxBandwidthOut` when outbound public bandwidth is greater than 10.
-
setInternetMaxBandwidthIn
public void setInternetMaxBandwidthIn(Long internetMaxBandwidthIn)
internetMaxBandwidthIn is the maximum inbound public bandwidth. Unit: Mbit/s. Valid values: When the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10. Currently the default is `10` when outbound bandwidth is less than or equal to 10 Mbit/s. When the purchased outbound public bandwidth is greater than 10, the valid values are 1 to the InternetMaxBandwidthOut value. Currently the default is the value used for `InternetMaxBandwidthOut` when outbound public bandwidth is greater than 10.
-
getInternetMaxBandwidthOut
public Long getInternetMaxBandwidthOut()
internetMaxBandwidthOut is the maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100. When a value greater than 0 is used then a public IP address is assigned to the instance. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `0`
-
setInternetMaxBandwidthOut
public void setInternetMaxBandwidthOut(Long internetMaxBandwidthOut)
internetMaxBandwidthOut is the maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100. When a value greater than 0 is used then a public IP address is assigned to the instance. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `0`
-
edit
public BandwidthPropertiesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BandwidthPropertiesBuilder>
-
toBuilder
public BandwidthPropertiesBuilder toBuilder()
-
-