Class BareMetalServerNetworkAttachmentPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.BareMetalServerNetworkAttachmentPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllowedVlans
(Long allowedVlans) Adds a new element to allowedVlans.allowedVlans
(List<Long> allowedVlans) Set the allowedVlans.build()
Builds a BareMetalServerNetworkAttachmentPatch.Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a BareMetalServerNetworkAttachmentPatch.- Returns:
- the new BareMetalServerNetworkAttachmentPatch instance
-
addAllowedVlans
Adds a new element to allowedVlans.- Parameters:
allowedVlans
- the new element to be added- Returns:
- the BareMetalServerNetworkAttachmentPatch builder
-
allowedVlans
Set the allowedVlans. Existing allowedVlans will be replaced.- Parameters:
allowedVlans
- the allowedVlans- Returns:
- the BareMetalServerNetworkAttachmentPatch builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the BareMetalServerNetworkAttachmentPatch builder
-