@Generated(value="software.amazon.awssdk:codegen") public final class Project extends Object implements StructuredPojo, ToCopyableBuilder<Project.Builder,Project>
Information about a build project.
Modifier and Type | Class and Description |
---|---|
static interface |
Project.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the build project.
|
ProjectArtifacts |
artifacts()
Information about the build output artifacts for the build project.
|
static Project.Builder |
builder() |
Instant |
created()
When the build project was created, expressed in Unix time format.
|
String |
description()
A description that makes the build project easy to identify.
|
String |
encryptionKey()
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
ProjectEnvironment |
environment()
Information about the build environment for this build project.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModified()
When the build project's settings were last modified, expressed in Unix time format.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the build project.
|
static Class<? extends Project.Builder> |
serializableBuilderClass() |
String |
serviceRole()
The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with
dependent AWS services on behalf of the AWS account.
|
ProjectSource |
source()
Information about the build input source code for this build project.
|
List<Tag> |
tags()
The tags for this build project.
|
Integer |
timeoutInMinutes()
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that
did not get marked as completed.
|
Project.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Webhook |
webhook()
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
|
copy
public String name()
The name of the build project.
public String arn()
The Amazon Resource Name (ARN) of the build project.
public String description()
A description that makes the build project easy to identify.
public ProjectSource source()
Information about the build input source code for this build project.
public ProjectArtifacts artifacts()
Information about the build output artifacts for the build project.
public ProjectEnvironment environment()
Information about the build environment for this build project.
public String serviceRole()
The ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
public Integer timeoutInMinutes()
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
public String encryptionKey()
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias (using the
format alias/alias-name
).
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias (using
the format alias/alias-name
).
public List<Tag> tags()
The tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public Instant created()
When the build project was created, expressed in Unix time format.
public Instant lastModified()
When the build project's settings were last modified, expressed in Unix time format.
public Webhook webhook()
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
public Project.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Project.Builder,Project>
public static Project.Builder builder()
public static Class<? extends Project.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.