Package com.sap.ai.sdk.core.model
Class BckndArgoCDRepositoryCredentials
java.lang.Object
com.sap.ai.sdk.core.model.BckndArgoCDRepositoryCredentials
BckndArgoCDRepositoryCredentials
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BckndArgoCDRepositoryCredentials. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newBckndArgoCDRepositoryCredentialsinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBckndArgoCDRepositoryCredentials.Password for read-access to the repositoryUsername for read-access to the repositoryinthashCode()Set the password of thisBckndArgoCDRepositoryCredentialsinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBckndArgoCDRepositoryCredentialsinstance.voidsetPassword(String password) Set the password of thisBckndArgoCDRepositoryCredentialsinstance.voidsetUsername(String username) Set the username of thisBckndArgoCDRepositoryCredentialsinstance.toMap()Get the value of all properties of thisBckndArgoCDRepositoryCredentialsinstance including unrecognized properties.toString()Set the username of thisBckndArgoCDRepositoryCredentialsinstance and return the same instance.
-
Constructor Details
-
BckndArgoCDRepositoryCredentials
protected BckndArgoCDRepositoryCredentials()Default constructor for BckndArgoCDRepositoryCredentials.
-
-
Method Details
-
username
Set the username of thisBckndArgoCDRepositoryCredentialsinstance and return the same instance.- Parameters:
username- Username for read-access to the repository- Returns:
- The same instance of this
BckndArgoCDRepositoryCredentialsclass
-
getUsername
Username for read-access to the repository- Returns:
- username The username of this
BckndArgoCDRepositoryCredentialsinstance.
-
setUsername
Set the username of thisBckndArgoCDRepositoryCredentialsinstance.- Parameters:
username- Username for read-access to the repository
-
password
Set the password of thisBckndArgoCDRepositoryCredentialsinstance and return the same instance.- Parameters:
password- Password for read-access to the repository- Returns:
- The same instance of this
BckndArgoCDRepositoryCredentialsclass
-
getPassword
Password for read-access to the repository- Returns:
- password The password of this
BckndArgoCDRepositoryCredentialsinstance.
-
setPassword
Set the password of thisBckndArgoCDRepositoryCredentialsinstance.- Parameters:
password- Password for read-access to the repository
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBckndArgoCDRepositoryCredentials.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisBckndArgoCDRepositoryCredentialsinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisBckndArgoCDRepositoryCredentialsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBckndArgoCDRepositoryCredentialsinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newBckndArgoCDRepositoryCredentialsinstance with all required arguments.
-
toMap()instead.