@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCodeBuildProjectDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about an AWS CodeBuild project.
Constructor and Description |
---|
AwsCodeBuildProjectDetails() |
Modifier and Type | Method and Description |
---|---|
AwsCodeBuildProjectDetails |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionKey()
The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output artifacts.
|
AwsCodeBuildProjectEnvironment |
getEnvironment()
Information about the build environment for this build project.
|
String |
getName()
The name of the build project.
|
String |
getServiceRole()
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS
account.
|
AwsCodeBuildProjectSource |
getSource()
Information about the build input source code for this build project.
|
AwsCodeBuildProjectVpcConfig |
getVpcConfig()
Information about the VPC configuration that AWS CodeBuild accesses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output artifacts.
|
void |
setEnvironment(AwsCodeBuildProjectEnvironment environment)
Information about the build environment for this build project.
|
void |
setName(String name)
The name of the build project.
|
void |
setServiceRole(String serviceRole)
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS
account.
|
void |
setSource(AwsCodeBuildProjectSource source)
Information about the build input source code for this build project.
|
void |
setVpcConfig(AwsCodeBuildProjectVpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
|
String |
toString()
Returns a string representation of this object.
|
AwsCodeBuildProjectDetails |
withEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output artifacts.
|
AwsCodeBuildProjectDetails |
withEnvironment(AwsCodeBuildProjectEnvironment environment)
Information about the build environment for this build project.
|
AwsCodeBuildProjectDetails |
withName(String name)
The name of the build project.
|
AwsCodeBuildProjectDetails |
withServiceRole(String serviceRole)
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS
account.
|
AwsCodeBuildProjectDetails |
withSource(AwsCodeBuildProjectSource source)
Information about the build input source code for this build project.
|
AwsCodeBuildProjectDetails |
withVpcConfig(AwsCodeBuildProjectVpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
|
public void setEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output artifacts.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK alias (using the format alias/alias-name).
encryptionKey
- The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output
artifacts.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK alias (using the format alias/alias-name).
public String getEncryptionKey()
The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output artifacts.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK alias (using the format alias/alias-name).
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK alias (using the format alias/alias-name).
public AwsCodeBuildProjectDetails withEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output artifacts.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK alias (using the format alias/alias-name).
encryptionKey
- The AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the build output
artifacts.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK alias (using the format alias/alias-name).
public void setEnvironment(AwsCodeBuildProjectEnvironment environment)
Information about the build environment for this build project.
environment
- Information about the build environment for this build project.public AwsCodeBuildProjectEnvironment getEnvironment()
Information about the build environment for this build project.
public AwsCodeBuildProjectDetails withEnvironment(AwsCodeBuildProjectEnvironment environment)
Information about the build environment for this build project.
environment
- Information about the build environment for this build project.public void setName(String name)
The name of the build project.
name
- The name of the build project.public String getName()
The name of the build project.
public AwsCodeBuildProjectDetails withName(String name)
The name of the build project.
name
- The name of the build project.public void setSource(AwsCodeBuildProjectSource source)
Information about the build input source code for this build project.
source
- Information about the build input source code for this build project.public AwsCodeBuildProjectSource getSource()
Information about the build input source code for this build project.
public AwsCodeBuildProjectDetails withSource(AwsCodeBuildProjectSource source)
Information about the build input source code for this build project.
source
- Information about the build input source code for this build project.public void setServiceRole(String serviceRole)
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
serviceRole
- The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of
the AWS account.public String getServiceRole()
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
public AwsCodeBuildProjectDetails withServiceRole(String serviceRole)
The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
serviceRole
- The ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of
the AWS account.public void setVpcConfig(AwsCodeBuildProjectVpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
vpcConfig
- Information about the VPC configuration that AWS CodeBuild accesses.public AwsCodeBuildProjectVpcConfig getVpcConfig()
Information about the VPC configuration that AWS CodeBuild accesses.
public AwsCodeBuildProjectDetails withVpcConfig(AwsCodeBuildProjectVpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
vpcConfig
- Information about the VPC configuration that AWS CodeBuild accesses.public String toString()
toString
in class Object
Object.toString()
public AwsCodeBuildProjectDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.