public static class EventAcknowledgeOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String bluemixInstance,
InputStream body)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
EventAcknowledgeOptions.Builder |
bluemixInstance(String bluemixInstance)
Set the bluemixInstance.
|
EventAcknowledgeOptions.Builder |
body(File body)
Set the body.
|
EventAcknowledgeOptions.Builder |
body(InputStream body)
Set the body.
|
EventAcknowledgeOptions |
build()
Builds a EventAcknowledgeOptions.
|
EventAcknowledgeOptions.Builder |
correlationId(String correlationId)
Set the correlationId.
|
EventAcknowledgeOptions.Builder |
xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.
|
public Builder()
public Builder(String bluemixInstance, InputStream body)
bluemixInstance
- the bluemixInstancebody
- the bodypublic EventAcknowledgeOptions build()
public EventAcknowledgeOptions.Builder bluemixInstance(String bluemixInstance)
bluemixInstance
- the bluemixInstancepublic EventAcknowledgeOptions.Builder body(InputStream body)
body
- the bodypublic EventAcknowledgeOptions.Builder correlationId(String correlationId)
correlationId
- the correlationIdpublic EventAcknowledgeOptions.Builder xKmsKeyRing(String xKmsKeyRing)
xKmsKeyRing
- the xKmsKeyRingpublic EventAcknowledgeOptions.Builder body(File body) throws FileNotFoundException
body
- the bodyFileNotFoundException
- if the file could not be foundCopyright © 2022 IBM Cloud. All rights reserved.