Class CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.resourcemanager.model.CreateConfigurationSourceProviderDetails
-
- com.oracle.bmc.resourcemanager.model.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails extends CreateConfigurationSourceProviderDetailsCreation details for a configuration source provider of the type BITBUCKET_CLOUD_ACCESS_TOKEN.This type corresponds to a configuration source provider in Bitbucket Cloud that is authenticated with Atlassian account email and API token. Legacy username/app-password create request shapes are no longer supported.
Note: Objects should always be created or deserialized using theCreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.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 theCreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder, which maintain a set of all explicitly set fields calledCreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(String compartmentId, String displayName, String description, PrivateServerConfigDetails privateServerConfigDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String apiEndpoint, String email, String secretId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetApiEndpoint()The Bitbucket cloud service endpoint.StringgetEmail()Atlassian account email used for Bitbucket Cloud API token authentication.StringgetSecretId()The secret ocid which is used to authorize the user.inthashCode()CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.resourcemanager.model.CreateConfigurationSourceProviderDetails
getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getPrivateServerConfigDetails
-
-
-
-
Constructor Detail
-
CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
@Deprecated public CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails(String compartmentId, String displayName, String description, PrivateServerConfigDetails privateServerConfigDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String apiEndpoint, String email, String secretId)
Deprecated.
-
-
Method Detail
-
builder
public static CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.Builder toBuilder()
-
getApiEndpoint
public String getApiEndpoint()
The Bitbucket cloud service endpoint.Example: https://bitbucket.org/
- Returns:
- the value
-
getEmail
public String getEmail()
Atlassian account email used for Bitbucket Cloud API token authentication.- Returns:
- the value
-
getSecretId
public String getSecretId()
The secret ocid which is used to authorize the user.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateConfigurationSourceProviderDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateConfigurationSourceProviderDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateConfigurationSourceProviderDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateConfigurationSourceProviderDetails
-
-