com.pulumi.alicloud.cloudstoragegateway.outputs.GetExpressSyncsSync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.cloudstoragegateway.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetExpressSyncsSync {
/**
* @return The name of the OSS Bucket.
*
*/
private String bucketName;
/**
* @return The prefix of the OSS Bucket.
*
*/
private String bucketPrefix;
/**
* @return The region of the OSS Bucket.
*
*/
private String bucketRegion;
/**
* @return The description of the Express Sync.
*
*/
private String description;
/**
* @return The ID of the Express Sync.
*
*/
private String expressSyncId;
/**
* @return The name of the Express Sync.
*
*/
private String expressSyncName;
private String id;
/**
* @return The name of the message topic (Topic) corresponding to the Express Sync in the Alibaba Cloud Message Service MNS.
*
*/
private String mnsTopic;
private GetExpressSyncsSync() {}
/**
* @return The name of the OSS Bucket.
*
*/
public String bucketName() {
return this.bucketName;
}
/**
* @return The prefix of the OSS Bucket.
*
*/
public String bucketPrefix() {
return this.bucketPrefix;
}
/**
* @return The region of the OSS Bucket.
*
*/
public String bucketRegion() {
return this.bucketRegion;
}
/**
* @return The description of the Express Sync.
*
*/
public String description() {
return this.description;
}
/**
* @return The ID of the Express Sync.
*
*/
public String expressSyncId() {
return this.expressSyncId;
}
/**
* @return The name of the Express Sync.
*
*/
public String expressSyncName() {
return this.expressSyncName;
}
public String id() {
return this.id;
}
/**
* @return The name of the message topic (Topic) corresponding to the Express Sync in the Alibaba Cloud Message Service MNS.
*
*/
public String mnsTopic() {
return this.mnsTopic;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetExpressSyncsSync defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String bucketName;
private String bucketPrefix;
private String bucketRegion;
private String description;
private String expressSyncId;
private String expressSyncName;
private String id;
private String mnsTopic;
public Builder() {}
public Builder(GetExpressSyncsSync defaults) {
Objects.requireNonNull(defaults);
this.bucketName = defaults.bucketName;
this.bucketPrefix = defaults.bucketPrefix;
this.bucketRegion = defaults.bucketRegion;
this.description = defaults.description;
this.expressSyncId = defaults.expressSyncId;
this.expressSyncName = defaults.expressSyncName;
this.id = defaults.id;
this.mnsTopic = defaults.mnsTopic;
}
@CustomType.Setter
public Builder bucketName(String bucketName) {
if (bucketName == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "bucketName");
}
this.bucketName = bucketName;
return this;
}
@CustomType.Setter
public Builder bucketPrefix(String bucketPrefix) {
if (bucketPrefix == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "bucketPrefix");
}
this.bucketPrefix = bucketPrefix;
return this;
}
@CustomType.Setter
public Builder bucketRegion(String bucketRegion) {
if (bucketRegion == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "bucketRegion");
}
this.bucketRegion = bucketRegion;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder expressSyncId(String expressSyncId) {
if (expressSyncId == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "expressSyncId");
}
this.expressSyncId = expressSyncId;
return this;
}
@CustomType.Setter
public Builder expressSyncName(String expressSyncName) {
if (expressSyncName == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "expressSyncName");
}
this.expressSyncName = expressSyncName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder mnsTopic(String mnsTopic) {
if (mnsTopic == null) {
throw new MissingRequiredPropertyException("GetExpressSyncsSync", "mnsTopic");
}
this.mnsTopic = mnsTopic;
return this;
}
public GetExpressSyncsSync build() {
final var _resultValue = new GetExpressSyncsSync();
_resultValue.bucketName = bucketName;
_resultValue.bucketPrefix = bucketPrefix;
_resultValue.bucketRegion = bucketRegion;
_resultValue.description = description;
_resultValue.expressSyncId = expressSyncId;
_resultValue.expressSyncName = expressSyncName;
_resultValue.id = id;
_resultValue.mnsTopic = mnsTopic;
return _resultValue;
}
}
}