@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public final class CreateGithubAccessTokenConfigurationSourceProviderDetails extends CreateConfigurationSourceProviderDetails
The details for creating a configuration source provider of the type GITHUB_ACCESS_TOKEN.
This type corresponds to a configuration source provider in GitHub that is authenticated with a personal access token.
CreateGithubAccessTokenConfigurationSourceProviderDetails.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 CreateGithubAccessTokenConfigurationSourceProviderDetails.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
CreateGithubAccessTokenConfigurationSourceProviderDetails.Builder |
| Constructor and Description |
|---|
CreateGithubAccessTokenConfigurationSourceProviderDetails(String compartmentId,
String displayName,
String description,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String apiEndpoint,
String accessToken)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateGithubAccessTokenConfigurationSourceProviderDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAccessToken()
The personal access token to be configured on the GitHub repository.
|
String |
getApiEndpoint()
The GitHub service endpoint.
|
int |
hashCode() |
CreateGithubAccessTokenConfigurationSourceProviderDetails.Builder |
toBuilder() |
String |
toString() |
getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags@Deprecated public CreateGithubAccessTokenConfigurationSourceProviderDetails(String compartmentId, String displayName, String description, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String apiEndpoint, String accessToken)
public static CreateGithubAccessTokenConfigurationSourceProviderDetails.Builder builder()
Create a new builder.
public CreateGithubAccessTokenConfigurationSourceProviderDetails.Builder toBuilder()
public String getApiEndpoint()
The GitHub service endpoint.
Example: https://github.com/
public String getAccessToken()
The personal access token to be configured on the GitHub repository. Avoid entering confidential information.
public String toString()
toString in class CreateConfigurationSourceProviderDetailspublic boolean equals(Object o)
equals in class CreateConfigurationSourceProviderDetailsprotected boolean canEqual(Object other)
canEqual in class CreateConfigurationSourceProviderDetailspublic int hashCode()
hashCode in class CreateConfigurationSourceProviderDetailsCopyright © 2016–2021. All rights reserved.