com.pulumi.aws.chatbot.outputs.GetSlackWorkspaceResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.chatbot.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetSlackWorkspaceResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return ID of the Slack Workspace assigned by AWS Chatbot.
*
*/
private String slackTeamId;
private String slackTeamName;
private GetSlackWorkspaceResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return ID of the Slack Workspace assigned by AWS Chatbot.
*
*/
public String slackTeamId() {
return this.slackTeamId;
}
public String slackTeamName() {
return this.slackTeamName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSlackWorkspaceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String slackTeamId;
private String slackTeamName;
public Builder() {}
public Builder(GetSlackWorkspaceResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.slackTeamId = defaults.slackTeamId;
this.slackTeamName = defaults.slackTeamName;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetSlackWorkspaceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder slackTeamId(String slackTeamId) {
if (slackTeamId == null) {
throw new MissingRequiredPropertyException("GetSlackWorkspaceResult", "slackTeamId");
}
this.slackTeamId = slackTeamId;
return this;
}
@CustomType.Setter
public Builder slackTeamName(String slackTeamName) {
if (slackTeamName == null) {
throw new MissingRequiredPropertyException("GetSlackWorkspaceResult", "slackTeamName");
}
this.slackTeamName = slackTeamName;
return this;
}
public GetSlackWorkspaceResult build() {
final var _resultValue = new GetSlackWorkspaceResult();
_resultValue.id = id;
_resultValue.slackTeamId = slackTeamId;
_resultValue.slackTeamName = slackTeamName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy