com.azure.resourcemanager.azurestackhci.implementation.PasswordCredentialImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-azurestackhci Show documentation
Show all versions of azure-resourcemanager-azurestackhci Show documentation
This package contains Microsoft Azure SDK for AzureStackHci Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Stack HCI management service. Package tag package-2024-04.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.azurestackhci.implementation;
import com.azure.resourcemanager.azurestackhci.fluent.models.PasswordCredentialInner;
import com.azure.resourcemanager.azurestackhci.models.PasswordCredential;
import java.time.OffsetDateTime;
public final class PasswordCredentialImpl implements PasswordCredential {
private PasswordCredentialInner innerObject;
private final com.azure.resourcemanager.azurestackhci.AzureStackHciManager serviceManager;
PasswordCredentialImpl(PasswordCredentialInner innerObject,
com.azure.resourcemanager.azurestackhci.AzureStackHciManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String secretText() {
return this.innerModel().secretText();
}
public String keyId() {
return this.innerModel().keyId();
}
public OffsetDateTime startDateTime() {
return this.innerModel().startDateTime();
}
public OffsetDateTime endDateTime() {
return this.innerModel().endDateTime();
}
public PasswordCredentialInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.azurestackhci.AzureStackHciManager manager() {
return this.serviceManager;
}
}