@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) |
List<AwsCodeBuildProjectArtifactsDetails> |
getArtifacts()
Information about the build artifacts for the CodeBuild project.
|
String |
getEncryptionKey()
The KMS key used to encrypt the build output artifacts.
|
AwsCodeBuildProjectEnvironment |
getEnvironment()
Information about the build environment for this build project.
|
AwsCodeBuildProjectLogsConfigDetails |
getLogsConfig()
Information about logs for the build project.
|
String |
getName()
The name of the build project.
|
List<AwsCodeBuildProjectArtifactsDetails> |
getSecondaryArtifacts()
Information about the secondary artifacts for the CodeBuild 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 |
setArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> artifacts)
Information about the build artifacts for the CodeBuild project.
|
void |
setEncryptionKey(String encryptionKey)
The KMS key used to encrypt the build output artifacts.
|
void |
setEnvironment(AwsCodeBuildProjectEnvironment environment)
Information about the build environment for this build project.
|
void |
setLogsConfig(AwsCodeBuildProjectLogsConfigDetails logsConfig)
Information about logs for the build project.
|
void |
setName(String name)
The name of the build project.
|
void |
setSecondaryArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> secondaryArtifacts)
Information about the secondary artifacts for the CodeBuild 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 |
withArtifacts(AwsCodeBuildProjectArtifactsDetails... artifacts)
Information about the build artifacts for the CodeBuild project.
|
AwsCodeBuildProjectDetails |
withArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> artifacts)
Information about the build artifacts for the CodeBuild project.
|
AwsCodeBuildProjectDetails |
withEncryptionKey(String encryptionKey)
The KMS key used to encrypt the build output artifacts.
|
AwsCodeBuildProjectDetails |
withEnvironment(AwsCodeBuildProjectEnvironment environment)
Information about the build environment for this build project.
|
AwsCodeBuildProjectDetails |
withLogsConfig(AwsCodeBuildProjectLogsConfigDetails logsConfig)
Information about logs for the build project.
|
AwsCodeBuildProjectDetails |
withName(String name)
The name of the build project.
|
AwsCodeBuildProjectDetails |
withSecondaryArtifacts(AwsCodeBuildProjectArtifactsDetails... secondaryArtifacts)
Information about the secondary artifacts for the CodeBuild project.
|
AwsCodeBuildProjectDetails |
withSecondaryArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> secondaryArtifacts)
Information about the secondary artifacts for the CodeBuild 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 key used to encrypt the build output artifacts.
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
encryptionKey
- The KMS key used to encrypt the build output artifacts.
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
public String getEncryptionKey()
The KMS key used to encrypt the build output artifacts.
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
public AwsCodeBuildProjectDetails withEncryptionKey(String encryptionKey)
The KMS key used to encrypt the build output artifacts.
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
encryptionKey
- The KMS key used to encrypt the build output artifacts.
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
public List<AwsCodeBuildProjectArtifactsDetails> getArtifacts()
Information about the build artifacts for the CodeBuild project.
public void setArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> artifacts)
Information about the build artifacts for the CodeBuild project.
artifacts
- Information about the build artifacts for the CodeBuild project.public AwsCodeBuildProjectDetails withArtifacts(AwsCodeBuildProjectArtifactsDetails... artifacts)
Information about the build artifacts for the CodeBuild project.
NOTE: This method appends the values to the existing list (if any). Use
setArtifacts(java.util.Collection)
or withArtifacts(java.util.Collection)
if you want to
override the existing values.
artifacts
- Information about the build artifacts for the CodeBuild project.public AwsCodeBuildProjectDetails withArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> artifacts)
Information about the build artifacts for the CodeBuild project.
artifacts
- Information about the build artifacts for the CodeBuild project.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 setLogsConfig(AwsCodeBuildProjectLogsConfigDetails logsConfig)
Information about logs for the build project.
logsConfig
- Information about logs for the build project.public AwsCodeBuildProjectLogsConfigDetails getLogsConfig()
Information about logs for the build project.
public AwsCodeBuildProjectDetails withLogsConfig(AwsCodeBuildProjectLogsConfigDetails logsConfig)
Information about logs for the build project.
logsConfig
- Information about logs for the build project.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 List<AwsCodeBuildProjectArtifactsDetails> getSecondaryArtifacts()
Information about the secondary artifacts for the CodeBuild project.
public void setSecondaryArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> secondaryArtifacts)
Information about the secondary artifacts for the CodeBuild project.
secondaryArtifacts
- Information about the secondary artifacts for the CodeBuild project.public AwsCodeBuildProjectDetails withSecondaryArtifacts(AwsCodeBuildProjectArtifactsDetails... secondaryArtifacts)
Information about the secondary artifacts for the CodeBuild project.
NOTE: This method appends the values to the existing list (if any). Use
setSecondaryArtifacts(java.util.Collection)
or withSecondaryArtifacts(java.util.Collection)
if
you want to override the existing values.
secondaryArtifacts
- Information about the secondary artifacts for the CodeBuild project.public AwsCodeBuildProjectDetails withSecondaryArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> secondaryArtifacts)
Information about the secondary artifacts for the CodeBuild project.
secondaryArtifacts
- Information about the secondary artifacts for the CodeBuild project.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.