@Generated(value="software.amazon.awssdk:codegen") public final class CreateProjectRequest extends CodeBuildRequest implements ToCopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateProjectRequest.Builder |
Modifier and Type | Method and Description |
---|---|
ProjectArtifacts |
artifacts()
Information about the build output artifacts for the build project.
|
static CreateProjectRequest.Builder |
builder() |
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 the build project.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The name of the build project.
|
static Class<? extends CreateProjectRequest.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 the build project.
|
List<Tag> |
tags()
A set of tags for this build project.
|
Integer |
timeoutInMinutes()
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not
been marked as completed.
|
CreateProjectRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String name()
The name 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 the build project.
public ProjectArtifacts artifacts()
Information about the build output artifacts for the build project.
public ProjectEnvironment environment()
Information about the build environment for the 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 until timing out any build that has not been 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.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format
alias/alias-name
).
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the
format alias/alias-name
).
public List<Tag> tags()
A set of 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 CreateProjectRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
toBuilder
in class CodeBuildRequest
public static CreateProjectRequest.Builder builder()
public static Class<? extends CreateProjectRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.