Package com.ibm.cloud.is.vpc.v1.model
Class PublicGatewayPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.PublicGatewayPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PublicGatewayPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
PublicGatewayPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicGatewayPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asPatch()
Construct a JSON merge-patch from the PublicGatewayPatch.String
name()
Gets the name.PublicGatewayPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public PublicGatewayPatch.Builder newBuilder()
New builder.- Returns:
- a PublicGatewayPatch builder
-
name
public String name()
Gets the name. The name for this public gateway. The name must not be used by another public gateway in the VPC.- Returns:
- the name
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the PublicGatewayPatch. Note that properties of the PublicGatewayPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the PublicGatewayPatch
-
-