-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[AutoPR azure-resourcemanager-storagemover]-generated-from-SDK Generation - Java-6110797 #48691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -439,7 +439,7 @@ interface WithPreservePermissions { | |
| * The template for JobDefinition update. | ||
| */ | ||
| interface Update extends UpdateStages.WithDescription, UpdateStages.WithCopyMode, UpdateStages.WithAgentName, | ||
| UpdateStages.WithConnections, UpdateStages.WithDataIntegrityValidation { | ||
| UpdateStages.WithConnections, UpdateStages.WithDataIntegrityValidation, UpdateStages.WithSchedule { | ||
| /** | ||
| * Executes the update request. | ||
| * | ||
|
|
@@ -524,6 +524,19 @@ interface WithDataIntegrityValidation { | |
| */ | ||
| Update withDataIntegrityValidation(DataIntegrityValidation dataIntegrityValidation); | ||
| } | ||
|
|
||
| /** | ||
| * The stage of the JobDefinition update allowing to specify schedule. | ||
| */ | ||
| interface WithSchedule { | ||
| /** | ||
| * Specifies the schedule property: Schedule information for the Job Definition.. | ||
| * | ||
|
Comment on lines
+531
to
+534
|
||
| * @param schedule Schedule information for the Job Definition. | ||
| * @return the next definition stage. | ||
| */ | ||
| Update withSchedule(ScheduleInfo schedule); | ||
| } | ||
| } | ||
|
|
||
| /** | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -17,24 +17,29 @@ public final class S3WithHmacSourceType extends ExpandableStringEnum<S3WithHmacS | |||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType MINIO = fromString("MINIO"); | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||
| * Static value BACKBLAZE for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| * Static value IBM for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType BACKBLAZE = fromString("BACKBLAZE"); | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType IBM = fromString("IBM"); | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||
| * Static value IBM for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| * Static value GCS for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType IBM = fromString("IBM"); | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType GCS = fromString("GCS"); | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||
| * Static value CLOUDFLARE for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| * Static value ALIBABA for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType CLOUDFLARE = fromString("CLOUDFLARE"); | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType ALIBABA = fromString("ALIBABA"); | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||
| * Static value GCS for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| * Static value DELL_EMC for S3WithHmacSourceType. | ||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType GCS = fromString("GCS"); | ||||||||||||||||||||||||||||||||||||||||||
| public static final S3WithHmacSourceType DELL_EMC = fromString("DELL_EMC"); | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
| /** | |
| /** | |
| * Static value BACKBLAZE for S3WithHmacSourceType. | |
| * | |
| * @deprecated This constant is retained for backward compatibility. Use | |
| * {@link #fromString(String)} if you need to work with service-returned values. | |
| */ | |
| @Deprecated | |
| public static final S3WithHmacSourceType BACKBLAZE = fromString("BACKBLAZE"); | |
| /** | |
| * Static value CLOUDFLARE for S3WithHmacSourceType. | |
| * | |
| * @deprecated This constant is retained for backward compatibility. Use | |
| * {@link #fromString(String)} if you need to work with service-returned values. | |
| */ | |
| @Deprecated | |
| public static final S3WithHmacSourceType CLOUDFLARE = fromString("CLOUDFLARE"); | |
| /** |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,12 +28,12 @@ public final class ScheduleInfo implements JsonSerializable<ScheduleInfo> { | |
| /* | ||
| * Whether the schedule is currently active | ||
| */ | ||
| private boolean isActive; | ||
| private Boolean isActive; | ||
|
|
||
| /* | ||
| * Time of day to execute (hours and minutes) | ||
| */ | ||
| private Time executionTime; | ||
| private SchedulerTime executionTime; | ||
|
|
||
|
Comment on lines
28
to
37
|
||
| /* | ||
| * Specific one-time execution date and time | ||
|
|
@@ -91,7 +91,7 @@ public ScheduleInfo withFrequency(Frequency frequency) { | |
| * | ||
| * @return the isActive value. | ||
| */ | ||
| public boolean isActive() { | ||
| public Boolean isActive() { | ||
| return this.isActive; | ||
| } | ||
|
|
||
|
|
@@ -101,7 +101,7 @@ public boolean isActive() { | |
| * @param isActive the isActive value to set. | ||
| * @return the ScheduleInfo object itself. | ||
| */ | ||
| public ScheduleInfo withIsActive(boolean isActive) { | ||
| public ScheduleInfo withIsActive(Boolean isActive) { | ||
| this.isActive = isActive; | ||
| return this; | ||
| } | ||
|
|
@@ -111,7 +111,7 @@ public ScheduleInfo withIsActive(boolean isActive) { | |
| * | ||
| * @return the executionTime value. | ||
| */ | ||
| public Time executionTime() { | ||
| public SchedulerTime executionTime() { | ||
| return this.executionTime; | ||
| } | ||
|
|
||
|
|
@@ -121,7 +121,7 @@ public Time executionTime() { | |
| * @param executionTime the executionTime value to set. | ||
| * @return the ScheduleInfo object itself. | ||
| */ | ||
| public ScheduleInfo withExecutionTime(Time executionTime) { | ||
| public ScheduleInfo withExecutionTime(SchedulerTime executionTime) { | ||
| this.executionTime = executionTime; | ||
| return this; | ||
| } | ||
|
|
@@ -251,7 +251,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { | |
| * @param jsonReader The JsonReader being read. | ||
| * @return An instance of ScheduleInfo if the JsonReader was pointing to an instance of it, or null if it was | ||
| * pointing to JSON null. | ||
| * @throws IllegalStateException If the deserialized JSON object was missing any required properties. | ||
| * @throws IOException If an error occurs while reading the ScheduleInfo. | ||
| */ | ||
| public static ScheduleInfo fromJson(JsonReader jsonReader) throws IOException { | ||
|
|
@@ -264,9 +263,9 @@ public static ScheduleInfo fromJson(JsonReader jsonReader) throws IOException { | |
| if ("frequency".equals(fieldName)) { | ||
| deserializedScheduleInfo.frequency = Frequency.fromString(reader.getString()); | ||
| } else if ("isActive".equals(fieldName)) { | ||
| deserializedScheduleInfo.isActive = reader.getBoolean(); | ||
| deserializedScheduleInfo.isActive = reader.getNullable(JsonReader::getBoolean); | ||
| } else if ("executionTime".equals(fieldName)) { | ||
| deserializedScheduleInfo.executionTime = Time.fromJson(reader); | ||
| deserializedScheduleInfo.executionTime = SchedulerTime.fromJson(reader); | ||
| } else if ("startDate".equals(fieldName)) { | ||
| deserializedScheduleInfo.startDate = reader | ||
| .getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString())); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changelog notes that SchedulerTime was added, but it doesn’t call out the (breaking) change where ScheduleInfo now uses SchedulerTime (and isActive becomes nullable). Please ensure the CHANGELOG captures this API shape change explicitly so release notes match the actual public surface.