
com.pulumi.azurenative.awsconnector.outputs.ProjectBuildBatchConfigResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.BatchReportModeTypeEnumValueResponse;
import com.pulumi.azurenative.awsconnector.outputs.BatchRestrictionsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProjectBuildBatchConfigResponse {
/**
* @return <p>Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.</p> <dl> <dt>REPORT_AGGREGATED_BATCH</dt> <dd> <p>(Default) Aggregate all of the build statuses into a single status report.</p> </dd> <dt>REPORT_INDIVIDUAL_BUILDS</dt> <dd> <p>Send a separate status report for each individual build.</p> </dd> </dl>
*
*/
private @Nullable BatchReportModeTypeEnumValueResponse batchReportMode;
/**
* @return <p>Specifies if the build artifacts for the batch build should be combined into a single artifact location.</p>
*
*/
private @Nullable Boolean combineArtifacts;
/**
* @return <p>A <code>BatchRestrictions</code> object that specifies the restrictions for the batch build.</p>
*
*/
private @Nullable BatchRestrictionsResponse restrictions;
/**
* @return <p>Specifies the service role ARN for the batch build project.</p>
*
*/
private @Nullable String serviceRole;
/**
* @return <p>Specifies the maximum amount of time, in minutes, that the batch build must be completed in.</p>
*
*/
private @Nullable Integer timeoutInMins;
private ProjectBuildBatchConfigResponse() {}
/**
* @return <p>Specifies how build status reports are sent to the source provider for the batch build. This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.</p> <dl> <dt>REPORT_AGGREGATED_BATCH</dt> <dd> <p>(Default) Aggregate all of the build statuses into a single status report.</p> </dd> <dt>REPORT_INDIVIDUAL_BUILDS</dt> <dd> <p>Send a separate status report for each individual build.</p> </dd> </dl>
*
*/
public Optional batchReportMode() {
return Optional.ofNullable(this.batchReportMode);
}
/**
* @return <p>Specifies if the build artifacts for the batch build should be combined into a single artifact location.</p>
*
*/
public Optional combineArtifacts() {
return Optional.ofNullable(this.combineArtifacts);
}
/**
* @return <p>A <code>BatchRestrictions</code> object that specifies the restrictions for the batch build.</p>
*
*/
public Optional restrictions() {
return Optional.ofNullable(this.restrictions);
}
/**
* @return <p>Specifies the service role ARN for the batch build project.</p>
*
*/
public Optional serviceRole() {
return Optional.ofNullable(this.serviceRole);
}
/**
* @return <p>Specifies the maximum amount of time, in minutes, that the batch build must be completed in.</p>
*
*/
public Optional timeoutInMins() {
return Optional.ofNullable(this.timeoutInMins);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProjectBuildBatchConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable BatchReportModeTypeEnumValueResponse batchReportMode;
private @Nullable Boolean combineArtifacts;
private @Nullable BatchRestrictionsResponse restrictions;
private @Nullable String serviceRole;
private @Nullable Integer timeoutInMins;
public Builder() {}
public Builder(ProjectBuildBatchConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.batchReportMode = defaults.batchReportMode;
this.combineArtifacts = defaults.combineArtifacts;
this.restrictions = defaults.restrictions;
this.serviceRole = defaults.serviceRole;
this.timeoutInMins = defaults.timeoutInMins;
}
@CustomType.Setter
public Builder batchReportMode(@Nullable BatchReportModeTypeEnumValueResponse batchReportMode) {
this.batchReportMode = batchReportMode;
return this;
}
@CustomType.Setter
public Builder combineArtifacts(@Nullable Boolean combineArtifacts) {
this.combineArtifacts = combineArtifacts;
return this;
}
@CustomType.Setter
public Builder restrictions(@Nullable BatchRestrictionsResponse restrictions) {
this.restrictions = restrictions;
return this;
}
@CustomType.Setter
public Builder serviceRole(@Nullable String serviceRole) {
this.serviceRole = serviceRole;
return this;
}
@CustomType.Setter
public Builder timeoutInMins(@Nullable Integer timeoutInMins) {
this.timeoutInMins = timeoutInMins;
return this;
}
public ProjectBuildBatchConfigResponse build() {
final var _resultValue = new ProjectBuildBatchConfigResponse();
_resultValue.batchReportMode = batchReportMode;
_resultValue.combineArtifacts = combineArtifacts;
_resultValue.restrictions = restrictions;
_resultValue.serviceRole = serviceRole;
_resultValue.timeoutInMins = timeoutInMins;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy