
com.pulumi.azurenative.awsconnector.outputs.DBInstanceRoleResponse 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.awsconnector.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DBInstanceRoleResponse {
/**
* @return The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the ``SupportedFeatureNames`` description in [DBEngineVersion](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBEngineVersion.html) in the *Amazon RDS API Reference*.
*
*/
private @Nullable String featureName;
/**
* @return The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
*
*/
private @Nullable String roleArn;
private DBInstanceRoleResponse() {}
/**
* @return The name of the feature associated with the AWS Identity and Access Management (IAM) role. IAM roles that are associated with a DB instance grant permission for the DB instance to access other AWS services on your behalf. For the list of supported feature names, see the ``SupportedFeatureNames`` description in [DBEngineVersion](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBEngineVersion.html) in the *Amazon RDS API Reference*.
*
*/
public Optional featureName() {
return Optional.ofNullable(this.featureName);
}
/**
* @return The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
*
*/
public Optional roleArn() {
return Optional.ofNullable(this.roleArn);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DBInstanceRoleResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String featureName;
private @Nullable String roleArn;
public Builder() {}
public Builder(DBInstanceRoleResponse defaults) {
Objects.requireNonNull(defaults);
this.featureName = defaults.featureName;
this.roleArn = defaults.roleArn;
}
@CustomType.Setter
public Builder featureName(@Nullable String featureName) {
this.featureName = featureName;
return this;
}
@CustomType.Setter
public Builder roleArn(@Nullable String roleArn) {
this.roleArn = roleArn;
return this;
}
public DBInstanceRoleResponse build() {
final var _resultValue = new DBInstanceRoleResponse();
_resultValue.featureName = featureName;
_resultValue.roleArn = roleArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy