-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a003dc
commit 58993c5
Showing
2 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletions
77
...nager-storage/src/main/java/com/azure/resourcemanager/storage/models/KeyCreationTime.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.storage.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.azure.core.util.logging.ClientLogger; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.time.OffsetDateTime; | ||
|
||
/** Storage account keys creation time. */ | ||
@Fluent | ||
public final class KeyCreationTime { | ||
@JsonIgnore private final ClientLogger logger = new ClientLogger(KeyCreationTime.class); | ||
|
||
/* | ||
* The key1 property. | ||
*/ | ||
@JsonProperty(value = "key1") | ||
private OffsetDateTime key1; | ||
|
||
/* | ||
* The key2 property. | ||
*/ | ||
@JsonProperty(value = "key2") | ||
private OffsetDateTime key2; | ||
|
||
/** | ||
* Get the key1 property: The key1 property. | ||
* | ||
* @return the key1 value. | ||
*/ | ||
public OffsetDateTime key1() { | ||
return this.key1; | ||
} | ||
|
||
/** | ||
* Set the key1 property: The key1 property. | ||
* | ||
* @param key1 the key1 value to set. | ||
* @return the KeyCreationTime object itself. | ||
*/ | ||
public KeyCreationTime withKey1(OffsetDateTime key1) { | ||
this.key1 = key1; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the key2 property: The key2 property. | ||
* | ||
* @return the key2 value. | ||
*/ | ||
public OffsetDateTime key2() { | ||
return this.key2; | ||
} | ||
|
||
/** | ||
* Set the key2 property: The key2 property. | ||
* | ||
* @param key2 the key2 value to set. | ||
* @return the KeyCreationTime object itself. | ||
*/ | ||
public KeyCreationTime withKey2(OffsetDateTime key2) { | ||
this.key2 = key2; | ||
return this; | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
} | ||
} |