com.pulumi.slack.inputs.GetConversationPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slack Show documentation
Show all versions of slack Show documentation
A Pulumi package for managing Slack workspaces.
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.slack.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetConversationPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetConversationPlainArgs Empty = new GetConversationPlainArgs();
/**
* The ID of the channel
*
*/
@Import(name="channelId")
private @Nullable String channelId;
/**
* @return The ID of the channel
*
*/
public Optional channelId() {
return Optional.ofNullable(this.channelId);
}
/**
* The conversation is privileged between two or more members
*
* Either `channel_id` or `name` must be provided. `is_private` only works in conjunction
* with `name`.
*
*/
@Import(name="isPrivate")
private @Nullable Boolean isPrivate;
/**
* @return The conversation is privileged between two or more members
*
* Either `channel_id` or `name` must be provided. `is_private` only works in conjunction
* with `name`.
*
*/
public Optional isPrivate() {
return Optional.ofNullable(this.isPrivate);
}
/**
* The name of the public or private channel
*
*/
@Import(name="name")
private @Nullable String name;
/**
* @return The name of the public or private channel
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
private GetConversationPlainArgs() {}
private GetConversationPlainArgs(GetConversationPlainArgs $) {
this.channelId = $.channelId;
this.isPrivate = $.isPrivate;
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetConversationPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetConversationPlainArgs $;
public Builder() {
$ = new GetConversationPlainArgs();
}
public Builder(GetConversationPlainArgs defaults) {
$ = new GetConversationPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param channelId The ID of the channel
*
* @return builder
*
*/
public Builder channelId(@Nullable String channelId) {
$.channelId = channelId;
return this;
}
/**
* @param isPrivate The conversation is privileged between two or more members
*
* Either `channel_id` or `name` must be provided. `is_private` only works in conjunction
* with `name`.
*
* @return builder
*
*/
public Builder isPrivate(@Nullable Boolean isPrivate) {
$.isPrivate = isPrivate;
return this;
}
/**
* @param name The name of the public or private channel
*
* @return builder
*
*/
public Builder name(@Nullable String name) {
$.name = name;
return this;
}
public GetConversationPlainArgs build() {
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy