@Generated(value="OracleSDKGenerator", comments="API Version: 20220421") public final class OciCodeRepositoryConfiguration extends ScmConfiguration
An OCI Code repository configuration extends a SCM Configuration with necessary data to reach and
use the OCI DevOps Code Repository.
Note: Objects should always be created or deserialized using the OciCodeRepositoryConfiguration.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the OciCodeRepositoryConfiguration.Builder
, which maintain a
set of all explicitly set fields called OciCodeRepositoryConfiguration.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
OciCodeRepositoryConfiguration.Builder |
ScmConfiguration.ScmType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OciCodeRepositoryConfiguration(String branch,
String buildFileLocation,
Boolean isAutomergeEnabled,
String ociCodeRepositoryId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OciCodeRepositoryConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getOciCodeRepositoryId()
The Oracle Cloud Identifier
(OCID) of the OCI
DevOps repository.
|
int |
hashCode() |
OciCodeRepositoryConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getBranch, getBuildFileLocation, getIsAutomergeEnabled
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public OciCodeRepositoryConfiguration(String branch, String buildFileLocation, Boolean isAutomergeEnabled, String ociCodeRepositoryId)
public static OciCodeRepositoryConfiguration.Builder builder()
Create a new builder.
public OciCodeRepositoryConfiguration.Builder toBuilder()
public String getOciCodeRepositoryId()
The Oracle Cloud Identifier (OCID) of the OCI DevOps repository.
public String toString()
toString
in class ScmConfiguration
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ScmConfiguration
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ScmConfiguration
public int hashCode()
hashCode
in class ScmConfiguration
Copyright © 2016–2024. All rights reserved.