com.pulumi.azurenative.databox.outputs.SystemDataResponse 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.databox.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SystemDataResponse {
/**
* @return The timestamp of resource creation (UTC)
*
*/
private String createdAt;
/**
* @return A string identifier for the identity that created the resource
*
*/
private String createdBy;
/**
* @return The type of identity that created the resource: user, application, managedIdentity
*
*/
private String createdByType;
/**
* @return The timestamp of resource last modification (UTC)
*
*/
private String lastModifiedAt;
/**
* @return A string identifier for the identity that last modified the resource
*
*/
private String lastModifiedBy;
/**
* @return The type of identity that last modified the resource: user, application, managedIdentity
*
*/
private String lastModifiedByType;
private SystemDataResponse() {}
/**
* @return The timestamp of resource creation (UTC)
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return A string identifier for the identity that created the resource
*
*/
public String createdBy() {
return this.createdBy;
}
/**
* @return The type of identity that created the resource: user, application, managedIdentity
*
*/
public String createdByType() {
return this.createdByType;
}
/**
* @return The timestamp of resource last modification (UTC)
*
*/
public String lastModifiedAt() {
return this.lastModifiedAt;
}
/**
* @return A string identifier for the identity that last modified the resource
*
*/
public String lastModifiedBy() {
return this.lastModifiedBy;
}
/**
* @return The type of identity that last modified the resource: user, application, managedIdentity
*
*/
public String lastModifiedByType() {
return this.lastModifiedByType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SystemDataResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdAt;
private String createdBy;
private String createdByType;
private String lastModifiedAt;
private String lastModifiedBy;
private String lastModifiedByType;
public Builder() {}
public Builder(SystemDataResponse defaults) {
Objects.requireNonNull(defaults);
this.createdAt = defaults.createdAt;
this.createdBy = defaults.createdBy;
this.createdByType = defaults.createdByType;
this.lastModifiedAt = defaults.lastModifiedAt;
this.lastModifiedBy = defaults.lastModifiedBy;
this.lastModifiedByType = defaults.lastModifiedByType;
}
@CustomType.Setter
public Builder createdAt(String createdAt) {
if (createdAt == null) {
throw new MissingRequiredPropertyException("SystemDataResponse", "createdAt");
}
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder createdBy(String createdBy) {
if (createdBy == null) {
throw new MissingRequiredPropertyException("SystemDataResponse", "createdBy");
}
this.createdBy = createdBy;
return this;
}
@CustomType.Setter
public Builder createdByType(String createdByType) {
if (createdByType == null) {
throw new MissingRequiredPropertyException("SystemDataResponse", "createdByType");
}
this.createdByType = createdByType;
return this;
}
@CustomType.Setter
public Builder lastModifiedAt(String lastModifiedAt) {
if (lastModifiedAt == null) {
throw new MissingRequiredPropertyException("SystemDataResponse", "lastModifiedAt");
}
this.lastModifiedAt = lastModifiedAt;
return this;
}
@CustomType.Setter
public Builder lastModifiedBy(String lastModifiedBy) {
if (lastModifiedBy == null) {
throw new MissingRequiredPropertyException("SystemDataResponse", "lastModifiedBy");
}
this.lastModifiedBy = lastModifiedBy;
return this;
}
@CustomType.Setter
public Builder lastModifiedByType(String lastModifiedByType) {
if (lastModifiedByType == null) {
throw new MissingRequiredPropertyException("SystemDataResponse", "lastModifiedByType");
}
this.lastModifiedByType = lastModifiedByType;
return this;
}
public SystemDataResponse build() {
final var _resultValue = new SystemDataResponse();
_resultValue.createdAt = createdAt;
_resultValue.createdBy = createdBy;
_resultValue.createdByType = createdByType;
_resultValue.lastModifiedAt = lastModifiedAt;
_resultValue.lastModifiedBy = lastModifiedBy;
_resultValue.lastModifiedByType = lastModifiedByType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy