com.pulumi.aws.secretsmanager.inputs.GetSecretRotationArgs 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.secretsmanager.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSecretRotationArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSecretRotationArgs Empty = new GetSecretRotationArgs();
/**
* Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
*
*/
@Import(name="secretId", required=true)
private Output secretId;
/**
* @return Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
*
*/
public Output secretId() {
return this.secretId;
}
private GetSecretRotationArgs() {}
private GetSecretRotationArgs(GetSecretRotationArgs $) {
this.secretId = $.secretId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSecretRotationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSecretRotationArgs $;
public Builder() {
$ = new GetSecretRotationArgs();
}
public Builder(GetSecretRotationArgs defaults) {
$ = new GetSecretRotationArgs(Objects.requireNonNull(defaults));
}
/**
* @param secretId Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
*
* @return builder
*
*/
public Builder secretId(Output secretId) {
$.secretId = secretId;
return this;
}
/**
* @param secretId Specifies the secret containing the version that you want to retrieve. You can specify either the ARN or the friendly name of the secret.
*
* @return builder
*
*/
public Builder secretId(String secretId) {
return secretId(Output.of(secretId));
}
public GetSecretRotationArgs build() {
if ($.secretId == null) {
throw new MissingRequiredPropertyException("GetSecretRotationArgs", "secretId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy