1
2
3
4
5 package com.azure.storage.blob.models;
6
7 import com.fasterxml.jackson.annotation.JsonProperty;
8 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
9 import java.time.OffsetDateTime;
10
11
12
13
14 @JacksonXmlRootElement(localName = "UserDelegationKey")
15 public final class UserDelegationKey {
16
17
18
19 @JsonProperty(value = "SignedOid", required = true)
20 private String signedOid;
21
22
23
24
25 @JsonProperty(value = "SignedTid", required = true)
26 private String signedTid;
27
28
29
30
31 @JsonProperty(value = "SignedStart", required = true)
32 private OffsetDateTime signedStart;
33
34
35
36
37 @JsonProperty(value = "SignedExpiry", required = true)
38 private OffsetDateTime signedExpiry;
39
40
41
42
43 @JsonProperty(value = "SignedService", required = true)
44 private String signedService;
45
46
47
48
49 @JsonProperty(value = "SignedVersion", required = true)
50 private String signedVersion;
51
52
53
54
55 @JsonProperty(value = "Value", required = true)
56 private String value;
57
58
59
60
61
62
63
64 public String signedOid() {
65 return this.signedOid;
66 }
67
68
69
70
71
72
73
74
75 public UserDelegationKey signedOid(String signedOid) {
76 this.signedOid = signedOid;
77 return this;
78 }
79
80
81
82
83
84
85
86 public String signedTid() {
87 return this.signedTid;
88 }
89
90
91
92
93
94
95
96
97 public UserDelegationKey signedTid(String signedTid) {
98 this.signedTid = signedTid;
99 return this;
100 }
101
102
103
104
105
106
107 public OffsetDateTime signedStart() {
108 return this.signedStart;
109 }
110
111
112
113
114
115
116
117 public UserDelegationKey signedStart(OffsetDateTime signedStart) {
118 this.signedStart = signedStart;
119 return this;
120 }
121
122
123
124
125
126
127 public OffsetDateTime signedExpiry() {
128 return this.signedExpiry;
129 }
130
131
132
133
134
135
136
137 public UserDelegationKey signedExpiry(OffsetDateTime signedExpiry) {
138 this.signedExpiry = signedExpiry;
139 return this;
140 }
141
142
143
144
145
146
147
148 public String signedService() {
149 return this.signedService;
150 }
151
152
153
154
155
156
157
158
159 public UserDelegationKey signedService(String signedService) {
160 this.signedService = signedService;
161 return this;
162 }
163
164
165
166
167
168
169
170 public String signedVersion() {
171 return this.signedVersion;
172 }
173
174
175
176
177
178
179
180
181 public UserDelegationKey signedVersion(String signedVersion) {
182 this.signedVersion = signedVersion;
183 return this;
184 }
185
186
187
188
189
190
191 public String value() {
192 return this.value;
193 }
194
195
196
197
198
199
200
201 public UserDelegationKey value(String value) {
202 this.value = value;
203 return this;
204 }
205 }