
com.pulumi.azurenative.connectedcache.outputs.CustomerEntityResponse Maven / Gradle / Ivy
// *** 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.connectedcache.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CustomerEntityResponse {
/**
* @return Customer resource client tenant Id of subscription.
*
*/
private @Nullable String clientTenantId;
/**
* @return Customer resource contact email.
*
*/
private @Nullable String contactEmail;
/**
* @return Customer resource contact full name.
*
*/
private @Nullable String contactName;
/**
* @return Customer resource contact phone.
*
*/
private @Nullable String contactPhone;
/**
* @return Customer resource create async operation Id.
*
*/
private String createAsyncOperationId;
/**
* @return Customer resource Guid Id.
*
*/
private String customerId;
/**
* @return Customer resource name.
*
*/
private @Nullable String customerName;
/**
* @return Customer resource deletion async operation Id.
*
*/
private String deleteAsyncOperationId;
/**
* @return Customer resource Azure fully qualified resource Id.
*
*/
private @Nullable String fullyQualifiedResourceId;
/**
* @return Customer resource flag for enterprise management as boolean.
*
*/
private @Nullable Boolean isEnterpriseManaged;
/**
* @return Customer resource entitlement flag as boolean.
*
*/
private @Nullable Boolean isEntitled;
/**
* @return Customer resource last Azure sync timestamp.
*
*/
private String lastSyncWithAzureTimestamp;
/**
* @return Customer resource Mcc release version.
*
*/
private @Nullable Integer releaseVersion;
/**
* @return Customer resource flag for resending signup code as boolean.
*
*/
private @Nullable Boolean resendSignupCode;
/**
* @return Customer resource flag for migration.
*
*/
private @Nullable Boolean shouldMigrate;
/**
* @return Customer resource sync attempts.
*
*/
private Integer synchWithAzureAttemptsCount;
/**
* @return Customer resource flag for requiring verification of signup code as boolean.
*
*/
private @Nullable Boolean verifySignupCode;
private CustomerEntityResponse() {}
/**
* @return Customer resource client tenant Id of subscription.
*
*/
public Optional clientTenantId() {
return Optional.ofNullable(this.clientTenantId);
}
/**
* @return Customer resource contact email.
*
*/
public Optional contactEmail() {
return Optional.ofNullable(this.contactEmail);
}
/**
* @return Customer resource contact full name.
*
*/
public Optional contactName() {
return Optional.ofNullable(this.contactName);
}
/**
* @return Customer resource contact phone.
*
*/
public Optional contactPhone() {
return Optional.ofNullable(this.contactPhone);
}
/**
* @return Customer resource create async operation Id.
*
*/
public String createAsyncOperationId() {
return this.createAsyncOperationId;
}
/**
* @return Customer resource Guid Id.
*
*/
public String customerId() {
return this.customerId;
}
/**
* @return Customer resource name.
*
*/
public Optional customerName() {
return Optional.ofNullable(this.customerName);
}
/**
* @return Customer resource deletion async operation Id.
*
*/
public String deleteAsyncOperationId() {
return this.deleteAsyncOperationId;
}
/**
* @return Customer resource Azure fully qualified resource Id.
*
*/
public Optional fullyQualifiedResourceId() {
return Optional.ofNullable(this.fullyQualifiedResourceId);
}
/**
* @return Customer resource flag for enterprise management as boolean.
*
*/
public Optional isEnterpriseManaged() {
return Optional.ofNullable(this.isEnterpriseManaged);
}
/**
* @return Customer resource entitlement flag as boolean.
*
*/
public Optional isEntitled() {
return Optional.ofNullable(this.isEntitled);
}
/**
* @return Customer resource last Azure sync timestamp.
*
*/
public String lastSyncWithAzureTimestamp() {
return this.lastSyncWithAzureTimestamp;
}
/**
* @return Customer resource Mcc release version.
*
*/
public Optional releaseVersion() {
return Optional.ofNullable(this.releaseVersion);
}
/**
* @return Customer resource flag for resending signup code as boolean.
*
*/
public Optional resendSignupCode() {
return Optional.ofNullable(this.resendSignupCode);
}
/**
* @return Customer resource flag for migration.
*
*/
public Optional shouldMigrate() {
return Optional.ofNullable(this.shouldMigrate);
}
/**
* @return Customer resource sync attempts.
*
*/
public Integer synchWithAzureAttemptsCount() {
return this.synchWithAzureAttemptsCount;
}
/**
* @return Customer resource flag for requiring verification of signup code as boolean.
*
*/
public Optional verifySignupCode() {
return Optional.ofNullable(this.verifySignupCode);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomerEntityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientTenantId;
private @Nullable String contactEmail;
private @Nullable String contactName;
private @Nullable String contactPhone;
private String createAsyncOperationId;
private String customerId;
private @Nullable String customerName;
private String deleteAsyncOperationId;
private @Nullable String fullyQualifiedResourceId;
private @Nullable Boolean isEnterpriseManaged;
private @Nullable Boolean isEntitled;
private String lastSyncWithAzureTimestamp;
private @Nullable Integer releaseVersion;
private @Nullable Boolean resendSignupCode;
private @Nullable Boolean shouldMigrate;
private Integer synchWithAzureAttemptsCount;
private @Nullable Boolean verifySignupCode;
public Builder() {}
public Builder(CustomerEntityResponse defaults) {
Objects.requireNonNull(defaults);
this.clientTenantId = defaults.clientTenantId;
this.contactEmail = defaults.contactEmail;
this.contactName = defaults.contactName;
this.contactPhone = defaults.contactPhone;
this.createAsyncOperationId = defaults.createAsyncOperationId;
this.customerId = defaults.customerId;
this.customerName = defaults.customerName;
this.deleteAsyncOperationId = defaults.deleteAsyncOperationId;
this.fullyQualifiedResourceId = defaults.fullyQualifiedResourceId;
this.isEnterpriseManaged = defaults.isEnterpriseManaged;
this.isEntitled = defaults.isEntitled;
this.lastSyncWithAzureTimestamp = defaults.lastSyncWithAzureTimestamp;
this.releaseVersion = defaults.releaseVersion;
this.resendSignupCode = defaults.resendSignupCode;
this.shouldMigrate = defaults.shouldMigrate;
this.synchWithAzureAttemptsCount = defaults.synchWithAzureAttemptsCount;
this.verifySignupCode = defaults.verifySignupCode;
}
@CustomType.Setter
public Builder clientTenantId(@Nullable String clientTenantId) {
this.clientTenantId = clientTenantId;
return this;
}
@CustomType.Setter
public Builder contactEmail(@Nullable String contactEmail) {
this.contactEmail = contactEmail;
return this;
}
@CustomType.Setter
public Builder contactName(@Nullable String contactName) {
this.contactName = contactName;
return this;
}
@CustomType.Setter
public Builder contactPhone(@Nullable String contactPhone) {
this.contactPhone = contactPhone;
return this;
}
@CustomType.Setter
public Builder createAsyncOperationId(String createAsyncOperationId) {
if (createAsyncOperationId == null) {
throw new MissingRequiredPropertyException("CustomerEntityResponse", "createAsyncOperationId");
}
this.createAsyncOperationId = createAsyncOperationId;
return this;
}
@CustomType.Setter
public Builder customerId(String customerId) {
if (customerId == null) {
throw new MissingRequiredPropertyException("CustomerEntityResponse", "customerId");
}
this.customerId = customerId;
return this;
}
@CustomType.Setter
public Builder customerName(@Nullable String customerName) {
this.customerName = customerName;
return this;
}
@CustomType.Setter
public Builder deleteAsyncOperationId(String deleteAsyncOperationId) {
if (deleteAsyncOperationId == null) {
throw new MissingRequiredPropertyException("CustomerEntityResponse", "deleteAsyncOperationId");
}
this.deleteAsyncOperationId = deleteAsyncOperationId;
return this;
}
@CustomType.Setter
public Builder fullyQualifiedResourceId(@Nullable String fullyQualifiedResourceId) {
this.fullyQualifiedResourceId = fullyQualifiedResourceId;
return this;
}
@CustomType.Setter
public Builder isEnterpriseManaged(@Nullable Boolean isEnterpriseManaged) {
this.isEnterpriseManaged = isEnterpriseManaged;
return this;
}
@CustomType.Setter
public Builder isEntitled(@Nullable Boolean isEntitled) {
this.isEntitled = isEntitled;
return this;
}
@CustomType.Setter
public Builder lastSyncWithAzureTimestamp(String lastSyncWithAzureTimestamp) {
if (lastSyncWithAzureTimestamp == null) {
throw new MissingRequiredPropertyException("CustomerEntityResponse", "lastSyncWithAzureTimestamp");
}
this.lastSyncWithAzureTimestamp = lastSyncWithAzureTimestamp;
return this;
}
@CustomType.Setter
public Builder releaseVersion(@Nullable Integer releaseVersion) {
this.releaseVersion = releaseVersion;
return this;
}
@CustomType.Setter
public Builder resendSignupCode(@Nullable Boolean resendSignupCode) {
this.resendSignupCode = resendSignupCode;
return this;
}
@CustomType.Setter
public Builder shouldMigrate(@Nullable Boolean shouldMigrate) {
this.shouldMigrate = shouldMigrate;
return this;
}
@CustomType.Setter
public Builder synchWithAzureAttemptsCount(Integer synchWithAzureAttemptsCount) {
if (synchWithAzureAttemptsCount == null) {
throw new MissingRequiredPropertyException("CustomerEntityResponse", "synchWithAzureAttemptsCount");
}
this.synchWithAzureAttemptsCount = synchWithAzureAttemptsCount;
return this;
}
@CustomType.Setter
public Builder verifySignupCode(@Nullable Boolean verifySignupCode) {
this.verifySignupCode = verifySignupCode;
return this;
}
public CustomerEntityResponse build() {
final var _resultValue = new CustomerEntityResponse();
_resultValue.clientTenantId = clientTenantId;
_resultValue.contactEmail = contactEmail;
_resultValue.contactName = contactName;
_resultValue.contactPhone = contactPhone;
_resultValue.createAsyncOperationId = createAsyncOperationId;
_resultValue.customerId = customerId;
_resultValue.customerName = customerName;
_resultValue.deleteAsyncOperationId = deleteAsyncOperationId;
_resultValue.fullyQualifiedResourceId = fullyQualifiedResourceId;
_resultValue.isEnterpriseManaged = isEnterpriseManaged;
_resultValue.isEntitled = isEntitled;
_resultValue.lastSyncWithAzureTimestamp = lastSyncWithAzureTimestamp;
_resultValue.releaseVersion = releaseVersion;
_resultValue.resendSignupCode = resendSignupCode;
_resultValue.shouldMigrate = shouldMigrate;
_resultValue.synchWithAzureAttemptsCount = synchWithAzureAttemptsCount;
_resultValue.verifySignupCode = verifySignupCode;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy