
com.pulumi.aws.appconfig.outputs.ExtensionActionPointAction 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.
// *** 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.appconfig.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ExtensionActionPointAction {
/**
* @return Information about the action.
*
*/
private @Nullable String description;
/**
* @return The action name.
*
*/
private String name;
/**
* @return An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
*
*/
private @Nullable String roleArn;
/**
* @return The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
*
*/
private String uri;
private ExtensionActionPointAction() {}
/**
* @return Information about the action.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The action name.
*
*/
public String name() {
return this.name;
}
/**
* @return An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
*
*/
public Optional roleArn() {
return Optional.ofNullable(this.roleArn);
}
/**
* @return The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
*
*/
public String uri() {
return this.uri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ExtensionActionPointAction defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private String name;
private @Nullable String roleArn;
private String uri;
public Builder() {}
public Builder(ExtensionActionPointAction defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.name = defaults.name;
this.roleArn = defaults.roleArn;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ExtensionActionPointAction", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder roleArn(@Nullable String roleArn) {
this.roleArn = roleArn;
return this;
}
@CustomType.Setter
public Builder uri(String uri) {
if (uri == null) {
throw new MissingRequiredPropertyException("ExtensionActionPointAction", "uri");
}
this.uri = uri;
return this;
}
public ExtensionActionPointAction build() {
final var _resultValue = new ExtensionActionPointAction();
_resultValue.description = description;
_resultValue.name = name;
_resultValue.roleArn = roleArn;
_resultValue.uri = uri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy