public static class NetworkPolicyProperties.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(Boolean enabled)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkPolicyProperties.Builder |
attributes(NetworkPolicyAttribute attributes)
Set the attributes.
|
NetworkPolicyProperties |
build()
Builds a NetworkPolicyProperties.
|
NetworkPolicyProperties.Builder |
enabled(Boolean enabled)
Set the enabled.
|
public Builder()
public Builder(Boolean enabled)
enabled - the enabledpublic NetworkPolicyProperties build()
public NetworkPolicyProperties.Builder enabled(Boolean enabled)
enabled - the enabledpublic NetworkPolicyProperties.Builder attributes(NetworkPolicyAttribute attributes)
attributes - the attributesCopyright © 2022 IBM Cloud. All rights reserved.