Package com.pulumi.aws.kms.inputs
Class GetKeyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.kms.inputs.GetKeyArgs.Builder
-
- Enclosing class:
- GetKeyArgs
public static final class GetKeyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetKeyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetKeyArgs
build()
GetKeyArgs.Builder
grantTokens(com.pulumi.core.Output<java.util.List<java.lang.String>> grantTokens)
GetKeyArgs.Builder
grantTokens(java.lang.String... grantTokens)
GetKeyArgs.Builder
grantTokens(java.util.List<java.lang.String> grantTokens)
GetKeyArgs.Builder
keyId(com.pulumi.core.Output<java.lang.String> keyId)
GetKeyArgs.Builder
keyId(java.lang.String keyId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetKeyArgs defaults)
-
-
Method Detail
-
grantTokens
public GetKeyArgs.Builder grantTokens(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> grantTokens)
- Parameters:
grantTokens
- List of grant tokens- Returns:
- builder
-
grantTokens
public GetKeyArgs.Builder grantTokens(java.util.List<java.lang.String> grantTokens)
- Parameters:
grantTokens
- List of grant tokens- Returns:
- builder
-
grantTokens
public GetKeyArgs.Builder grantTokens(java.lang.String... grantTokens)
- Parameters:
grantTokens
- List of grant tokens- Returns:
- builder
-
keyId
public GetKeyArgs.Builder keyId(com.pulumi.core.Output<java.lang.String> keyId)
- Parameters:
keyId
- Key identifier which can be one of the following format: * Key ID. E.g: `1234abcd-12ab-34cd-56ef-1234567890ab` * Key ARN. E.g.: `arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` * Alias name. E.g.: `alias/my-key` * Alias ARN: E.g.: `arn:aws:kms:us-east-1:111122223333:alias/my-key`- Returns:
- builder
-
keyId
public GetKeyArgs.Builder keyId(java.lang.String keyId)
- Parameters:
keyId
- Key identifier which can be one of the following format: * Key ID. E.g: `1234abcd-12ab-34cd-56ef-1234567890ab` * Key ARN. E.g.: `arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab` * Alias name. E.g.: `alias/my-key` * Alias ARN: E.g.: `arn:aws:kms:us-east-1:111122223333:alias/my-key`- Returns:
- builder
-
build
public GetKeyArgs build()
-
-