commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Subscription
ConfluentCloudDestinationBuilder.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Subscription
;
10
11
use
Commercetools\Base\Builder
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
use
Commercetools\Base\JsonObjectModel
;
15
use
Commercetools\Base\MapperFactory
;
16
use stdClass;
17
21
final
class
ConfluentCloudDestinationBuilder
implements
Builder
22
{
27
private
$bootstrapServer;
28
33
private
$apiKey;
34
39
private
$apiSecret;
40
45
private
$acks;
46
51
private
$topic;
52
57
private
$key;
58
65
public
function
getBootstrapServer
()
66
{
67
return
$this->bootstrapServer;
68
}
69
76
public
function
getApiKey
()
77
{
78
return
$this->apiKey;
79
}
80
87
public
function
getApiSecret
()
88
{
89
return
$this->apiSecret;
90
}
91
98
public
function
getAcks
()
99
{
100
return
$this->acks;
101
}
102
109
public
function
getTopic
()
110
{
111
return
$this->topic;
112
}
113
120
public
function
getKey
()
121
{
122
return
$this->key;
123
}
124
129
public
function
withBootstrapServer
(?
string
$bootstrapServer)
130
{
131
$this->bootstrapServer = $bootstrapServer;
132
133
return
$this;
134
}
135
140
public
function
withApiKey
(?
string
$apiKey)
141
{
142
$this->apiKey = $apiKey;
143
144
return
$this;
145
}
146
151
public
function
withApiSecret
(?
string
$apiSecret)
152
{
153
$this->apiSecret = $apiSecret;
154
155
return
$this;
156
}
157
162
public
function
withAcks
(?
string
$acks)
163
{
164
$this->acks = $acks;
165
166
return
$this;
167
}
168
173
public
function
withTopic
(?
string
$topic)
174
{
175
$this->topic = $topic;
176
177
return
$this;
178
}
179
184
public
function
withKey
(?
string
$key)
185
{
186
$this->key = $key;
187
188
return
$this;
189
}
190
191
192
public
function
build
():
ConfluentCloudDestination
193
{
194
return
new
ConfluentCloudDestinationModel
(
195
$this->bootstrapServer,
196
$this->apiKey,
197
$this->apiSecret,
198
$this->acks,
199
$this->topic,
200
$this->key
201
);
202
}
203
204
public
static
function
of
():
ConfluentCloudDestinationBuilder
205
{
206
return
new
self
();
207
}
208
}
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder
Definition:
ConfluentCloudDestinationBuilder.php:22
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\getAcks
getAcks()
Definition:
ConfluentCloudDestinationBuilder.php:98
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\withTopic
withTopic(?string $topic)
Definition:
ConfluentCloudDestinationBuilder.php:173
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\withAcks
withAcks(?string $acks)
Definition:
ConfluentCloudDestinationBuilder.php:162
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\withKey
withKey(?string $key)
Definition:
ConfluentCloudDestinationBuilder.php:184
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\withApiSecret
withApiSecret(?string $apiSecret)
Definition:
ConfluentCloudDestinationBuilder.php:151
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\getBootstrapServer
getBootstrapServer()
Definition:
ConfluentCloudDestinationBuilder.php:65
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\getTopic
getTopic()
Definition:
ConfluentCloudDestinationBuilder.php:109
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\getKey
getKey()
Definition:
ConfluentCloudDestinationBuilder.php:120
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\getApiSecret
getApiSecret()
Definition:
ConfluentCloudDestinationBuilder.php:87
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\getApiKey
getApiKey()
Definition:
ConfluentCloudDestinationBuilder.php:76
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\withApiKey
withApiKey(?string $apiKey)
Definition:
ConfluentCloudDestinationBuilder.php:140
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\withBootstrapServer
withBootstrapServer(?string $bootstrapServer)
Definition:
ConfluentCloudDestinationBuilder.php:129
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\build
build()
Definition:
ConfluentCloudDestinationBuilder.php:192
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationBuilder\of
static of()
Definition:
ConfluentCloudDestinationBuilder.php:204
Commercetools\Api\Models\Subscription\ConfluentCloudDestinationModel
Definition:
ConfluentCloudDestinationModel.php:21
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Base\JsonObjectModel
Definition:
JsonObjectModel.php:15
Commercetools\Base\MapperFactory
Definition:
MapperFactory.php:16
Commercetools\Api\Models\Subscription\ConfluentCloudDestination
Definition:
ConfluentCloudDestination.php:15
Commercetools\Base\Builder
Definition:
Builder.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Subscription
Definition:
AzureEventGridDestination.php:9
Generated by
1.9.1