commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Extension
AWSLambdaDestinationBuilder.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Extension
;
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
AWSLambdaDestinationBuilder
implements
Builder
22
{
27
private
$arn;
28
33
private
$accessKey;
34
39
private
$accessSecret;
40
47
public
function
getArn
()
48
{
49
return
$this->arn;
50
}
51
58
public
function
getAccessKey
()
59
{
60
return
$this->accessKey;
61
}
62
69
public
function
getAccessSecret
()
70
{
71
return
$this->accessSecret;
72
}
73
78
public
function
withArn
(?
string
$arn)
79
{
80
$this->arn = $arn;
81
82
return
$this;
83
}
84
89
public
function
withAccessKey
(?
string
$accessKey)
90
{
91
$this->accessKey = $accessKey;
92
93
return
$this;
94
}
95
100
public
function
withAccessSecret
(?
string
$accessSecret)
101
{
102
$this->accessSecret = $accessSecret;
103
104
return
$this;
105
}
106
107
108
public
function
build
():
AWSLambdaDestination
109
{
110
return
new
AWSLambdaDestinationModel
(
111
$this->arn,
112
$this->accessKey,
113
$this->accessSecret
114
);
115
}
116
117
public
static
function
of
():
AWSLambdaDestinationBuilder
118
{
119
return
new
self
();
120
}
121
}
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder
Definition:
AWSLambdaDestinationBuilder.php:22
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\getAccessSecret
getAccessSecret()
Definition:
AWSLambdaDestinationBuilder.php:69
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\build
build()
Definition:
AWSLambdaDestinationBuilder.php:108
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\of
static of()
Definition:
AWSLambdaDestinationBuilder.php:117
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\withAccessSecret
withAccessSecret(?string $accessSecret)
Definition:
AWSLambdaDestinationBuilder.php:100
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\getArn
getArn()
Definition:
AWSLambdaDestinationBuilder.php:47
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\withArn
withArn(?string $arn)
Definition:
AWSLambdaDestinationBuilder.php:78
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\withAccessKey
withAccessKey(?string $accessKey)
Definition:
AWSLambdaDestinationBuilder.php:89
Commercetools\Api\Models\Extension\AWSLambdaDestinationBuilder\getAccessKey
getAccessKey()
Definition:
AWSLambdaDestinationBuilder.php:58
Commercetools\Api\Models\Extension\AWSLambdaDestinationModel
Definition:
AWSLambdaDestinationModel.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\Extension\AWSLambdaDestination
Definition:
AWSLambdaDestination.php:15
Commercetools\Base\Builder
Definition:
Builder.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Extension
Definition:
AuthorizationHeaderAuthentication.php:9
Generated by
1.9.1