com.azure.resourcemanager.storage.models.KeyCreationTime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// 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.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
/** Storage account keys creation time. */
@Fluent
public final class KeyCreationTime {
/*
* 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() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy