Class BMCEventSubscriptionSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BMCEventSubscriptionSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BMCEventSubscriptionSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BMCEventSubscriptionSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<BMCEventSubscriptionSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BMCEventSubscriptionSpec()No args constructor for use in serializationBMCEventSubscriptionSpec(String context, String destination, String hostName, io.fabric8.kubernetes.api.model.SecretReference httpHeadersRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BMCEventSubscriptionSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetContext()Arbitrary user-provided context for the eventStringgetDestination()A webhook URL to send events toStringgetHostName()A reference to a BareMetalHostio.fabric8.kubernetes.api.model.SecretReferencegetHttpHeadersRef()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContext(String context)Arbitrary user-provided context for the eventvoidsetDestination(String destination)A webhook URL to send events tovoidsetHostName(String hostName)A reference to a BareMetalHostvoidsetHttpHeadersRef(io.fabric8.kubernetes.api.model.SecretReference httpHeadersRef)BMCEventSubscriptionSpecBuildertoBuilder()
-
-
-
Method Detail
-
getContext
public String getContext()
Arbitrary user-provided context for the event
-
setContext
public void setContext(String context)
Arbitrary user-provided context for the event
-
getDestination
public String getDestination()
A webhook URL to send events to
-
setDestination
public void setDestination(String destination)
A webhook URL to send events to
-
getHostName
public String getHostName()
A reference to a BareMetalHost
-
setHostName
public void setHostName(String hostName)
A reference to a BareMetalHost
-
getHttpHeadersRef
public io.fabric8.kubernetes.api.model.SecretReference getHttpHeadersRef()
-
setHttpHeadersRef
public void setHttpHeadersRef(io.fabric8.kubernetes.api.model.SecretReference httpHeadersRef)
-
edit
public BMCEventSubscriptionSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BMCEventSubscriptionSpecBuilder>
-
toBuilder
public BMCEventSubscriptionSpecBuilder toBuilder()
-
-