StructuredPojo
, ToCopyableBuilder<EncryptionKey.Builder,EncryptionKey>
@Generated("software.amazon.awssdk:codegen") public class EncryptionKey extends Object implements StructuredPojo, ToCopyableBuilder<EncryptionKey.Builder,EncryptionKey>
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
Modifier and Type | Class | Description |
---|---|---|
static interface |
EncryptionKey.Builder |
Modifier and Type | Method | Description |
---|---|---|
static EncryptionKey.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The ID used to identify the key.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EncryptionKey.Builder> |
serializableBuilderClass() |
|
EncryptionKey.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of encryption key, such as an AWS Key Management Service (AWS KMS) key.
|
public String id()
The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.
public String type()
The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.
EncryptionKeyType
public EncryptionKey.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EncryptionKey.Builder,EncryptionKey>
public static EncryptionKey.Builder builder()
public static Class<? extends EncryptionKey.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.