com.pulumi.azurenative.graphservices.outputs.AccountResourceResponseSystemData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.graphservices.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AccountResourceResponseSystemData {
/**
* @return The timestamp of resource creation (UTC).
*
*/
private @Nullable String createdAt;
/**
* @return The type of identity that created the resource.
*
*/
private @Nullable String createdByType;
/**
* @return The timestamp of resource last modification (UTC)
*
*/
private @Nullable String lastModifiedAt;
/**
* @return The type of identity that last modified the resource.
*
*/
private @Nullable String lastModifiedByType;
private AccountResourceResponseSystemData() {}
/**
* @return The timestamp of resource creation (UTC).
*
*/
public Optional createdAt() {
return Optional.ofNullable(this.createdAt);
}
/**
* @return The type of identity that created the resource.
*
*/
public Optional createdByType() {
return Optional.ofNullable(this.createdByType);
}
/**
* @return The timestamp of resource last modification (UTC)
*
*/
public Optional lastModifiedAt() {
return Optional.ofNullable(this.lastModifiedAt);
}
/**
* @return The type of identity that last modified the resource.
*
*/
public Optional lastModifiedByType() {
return Optional.ofNullable(this.lastModifiedByType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AccountResourceResponseSystemData defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String createdAt;
private @Nullable String createdByType;
private @Nullable String lastModifiedAt;
private @Nullable String lastModifiedByType;
public Builder() {}
public Builder(AccountResourceResponseSystemData defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.createdByType = defaults.createdByType;
this.lastModifiedAt = defaults.lastModifiedAt;
this.lastModifiedByType = defaults.lastModifiedByType;
}
@CustomType.Setter
public Builder createdAt(@Nullable String createdAt) {
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder createdByType(@Nullable String createdByType) {
this.createdByType = createdByType;
return this;
}
@CustomType.Setter
public Builder lastModifiedAt(@Nullable String lastModifiedAt) {
this.lastModifiedAt = lastModifiedAt;
return this;
}
@CustomType.Setter
public Builder lastModifiedByType(@Nullable String lastModifiedByType) {
this.lastModifiedByType = lastModifiedByType;
return this;
}
public AccountResourceResponseSystemData build() {
final var _resultValue = new AccountResourceResponseSystemData();
_resultValue.createdAt = createdAt;
_resultValue.createdByType = createdByType;
_resultValue.lastModifiedAt = lastModifiedAt;
_resultValue.lastModifiedByType = lastModifiedByType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy