Package com.ibm.cloud.is.vpc.v1.model
Class FlowLogCollectorPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.FlowLogCollectorPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class FlowLogCollectorPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
FlowLogCollectorPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlowLogCollectorPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
active()
Gets the active.Map<String,Object>
asPatch()
Construct a JSON merge-patch from the FlowLogCollectorPatch.String
name()
Gets the name.FlowLogCollectorPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public FlowLogCollectorPatch.Builder newBuilder()
New builder.- Returns:
- a FlowLogCollectorPatch builder
-
active
public Boolean active()
Gets the active. Indicates whether this collector is active. Updating to false deactivates the collector and updating to true activates the collector.- Returns:
- the active
-
name
public String name()
Gets the name. The name for this flow log collector. The name must not be used by another flow log collector in the VPC.- Returns:
- the name
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the FlowLogCollectorPatch. Note that properties of the FlowLogCollectorPatch 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 FlowLogCollectorPatch
-
-