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