File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
src/main/java/software/amazon/datasync/task Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 78
78
"BytesPerSecond" : {
79
79
"description" : " A value that limits the bandwidth used by AWS DataSync." ,
80
80
"type" : " integer" ,
81
+ "format" : " int64" ,
81
82
"minimum" : -1
82
83
},
83
84
"Gid" : {
Original file line number Diff line number Diff line change @@ -90,10 +90,9 @@ public static software.amazon.datasync.task.Options translateToResourceModelOpti
90
90
final software .amazon .awssdk .services .datasync .model .Options options ) {
91
91
if (options == null )
92
92
return software .amazon .datasync .task .Options .builder ().build ();
93
- Integer bytesPerSecond = options .bytesPerSecond () != null ? options .bytesPerSecond ().intValue () : null ;
94
93
return software .amazon .datasync .task .Options .builder ()
95
94
.atime (options .atimeAsString ())
96
- .bytesPerSecond (bytesPerSecond )
95
+ .bytesPerSecond (options . bytesPerSecond () )
97
96
.gid (options .gidAsString ())
98
97
.logLevel (options .logLevelAsString ())
99
98
.mtime (options .mtimeAsString ())
@@ -112,11 +111,9 @@ private static software.amazon.awssdk.services.datasync.model.Options translateT
112
111
final software .amazon .datasync .task .Options options ) {
113
112
if (options == null )
114
113
return software .amazon .awssdk .services .datasync .model .Options .builder ().build ();
115
-
116
- Long bytesPerSecond = options .getBytesPerSecond () != null ? options .getBytesPerSecond ().longValue () : null ;
117
114
return software .amazon .awssdk .services .datasync .model .Options .builder ()
118
115
.atime (options .getAtime ())
119
- .bytesPerSecond (bytesPerSecond )
116
+ .bytesPerSecond (options . getBytesPerSecond () )
120
117
.gid (options .getGid ())
121
118
.logLevel (options .getLogLevel ())
122
119
.mtime (options .getMtime ())
You can’t perform that action at this time.
0 commit comments