com.pulumi.azurenative.datashare.outputs.ShareSynchronizationResponse 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.datashare.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ShareSynchronizationResponse {
/**
* @return Email of the user who created the synchronization
*
*/
private @Nullable String consumerEmail;
/**
* @return Name of the user who created the synchronization
*
*/
private @Nullable String consumerName;
/**
* @return Tenant name of the consumer who created the synchronization
*
*/
private @Nullable String consumerTenantName;
/**
* @return synchronization duration
*
*/
private @Nullable Integer durationMs;
/**
* @return End time of synchronization
*
*/
private @Nullable String endTime;
/**
* @return message of synchronization
*
*/
private @Nullable String message;
/**
* @return start time of synchronization
*
*/
private @Nullable String startTime;
/**
* @return Raw Status
*
*/
private @Nullable String status;
/**
* @return Synchronization id
*
*/
private @Nullable String synchronizationId;
/**
* @return Synchronization mode
*
*/
private String synchronizationMode;
private ShareSynchronizationResponse() {}
/**
* @return Email of the user who created the synchronization
*
*/
public Optional consumerEmail() {
return Optional.ofNullable(this.consumerEmail);
}
/**
* @return Name of the user who created the synchronization
*
*/
public Optional consumerName() {
return Optional.ofNullable(this.consumerName);
}
/**
* @return Tenant name of the consumer who created the synchronization
*
*/
public Optional consumerTenantName() {
return Optional.ofNullable(this.consumerTenantName);
}
/**
* @return synchronization duration
*
*/
public Optional durationMs() {
return Optional.ofNullable(this.durationMs);
}
/**
* @return End time of synchronization
*
*/
public Optional endTime() {
return Optional.ofNullable(this.endTime);
}
/**
* @return message of synchronization
*
*/
public Optional message() {
return Optional.ofNullable(this.message);
}
/**
* @return start time of synchronization
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
/**
* @return Raw Status
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
/**
* @return Synchronization id
*
*/
public Optional synchronizationId() {
return Optional.ofNullable(this.synchronizationId);
}
/**
* @return Synchronization mode
*
*/
public String synchronizationMode() {
return this.synchronizationMode;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ShareSynchronizationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String consumerEmail;
private @Nullable String consumerName;
private @Nullable String consumerTenantName;
private @Nullable Integer durationMs;
private @Nullable String endTime;
private @Nullable String message;
private @Nullable String startTime;
private @Nullable String status;
private @Nullable String synchronizationId;
private String synchronizationMode;
public Builder() {}
public Builder(ShareSynchronizationResponse defaults) {
Objects.requireNonNull(defaults);
this.consumerEmail = defaults.consumerEmail;
this.consumerName = defaults.consumerName;
this.consumerTenantName = defaults.consumerTenantName;
this.durationMs = defaults.durationMs;
this.endTime = defaults.endTime;
this.message = defaults.message;
this.startTime = defaults.startTime;
this.status = defaults.status;
this.synchronizationId = defaults.synchronizationId;
this.synchronizationMode = defaults.synchronizationMode;
}
@CustomType.Setter
public Builder consumerEmail(@Nullable String consumerEmail) {
this.consumerEmail = consumerEmail;
return this;
}
@CustomType.Setter
public Builder consumerName(@Nullable String consumerName) {
this.consumerName = consumerName;
return this;
}
@CustomType.Setter
public Builder consumerTenantName(@Nullable String consumerTenantName) {
this.consumerTenantName = consumerTenantName;
return this;
}
@CustomType.Setter
public Builder durationMs(@Nullable Integer durationMs) {
this.durationMs = durationMs;
return this;
}
@CustomType.Setter
public Builder endTime(@Nullable String endTime) {
this.endTime = endTime;
return this;
}
@CustomType.Setter
public Builder message(@Nullable String message) {
this.message = message;
return this;
}
@CustomType.Setter
public Builder startTime(@Nullable String startTime) {
this.startTime = startTime;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
@CustomType.Setter
public Builder synchronizationId(@Nullable String synchronizationId) {
this.synchronizationId = synchronizationId;
return this;
}
@CustomType.Setter
public Builder synchronizationMode(String synchronizationMode) {
if (synchronizationMode == null) {
throw new MissingRequiredPropertyException("ShareSynchronizationResponse", "synchronizationMode");
}
this.synchronizationMode = synchronizationMode;
return this;
}
public ShareSynchronizationResponse build() {
final var _resultValue = new ShareSynchronizationResponse();
_resultValue.consumerEmail = consumerEmail;
_resultValue.consumerName = consumerName;
_resultValue.consumerTenantName = consumerTenantName;
_resultValue.durationMs = durationMs;
_resultValue.endTime = endTime;
_resultValue.message = message;
_resultValue.startTime = startTime;
_resultValue.status = status;
_resultValue.synchronizationId = synchronizationId;
_resultValue.synchronizationMode = synchronizationMode;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy