Class GitLabDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GitLabDetails.Builder,GitLabDetails>
Details for a GitLab integration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic GitLabDetails.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantThe expiry of the stored access token, for non-rotating tokens only.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe HTTPS base URL of the GitLab instance.static Class<? extends GitLabDetails.Builder> final StringThe group or project path the integration targets.final GitLabTargetTypeWhether the integration targets a group or a single project.final StringWhether the integration targets a group or a single project.Take this object and create a builder that contains all of the current property values of this object.final GitLabTokenRotationHow the integration's access token is rotated.final StringHow the integration's access token is rotated.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
instanceUrl
The HTTPS base URL of the GitLab instance.
- Returns:
- The HTTPS base URL of the GitLab instance.
-
targetType
Whether the integration targets a group or a single project.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnGitLabTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- Whether the integration targets a group or a single project.
- See Also:
-
targetTypeAsString
Whether the integration targets a group or a single project.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnGitLabTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- Whether the integration targets a group or a single project.
- See Also:
-
targetPath
The group or project path the integration targets.
- Returns:
- The group or project path the integration targets.
-
tokenRotation
How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.
If the service returns an enum value that is not available in the current SDK version,
tokenRotationwill returnGitLabTokenRotation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtokenRotationAsString().- Returns:
- How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.
- See Also:
-
tokenRotationAsString
How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.
If the service returns an enum value that is not available in the current SDK version,
tokenRotationwill returnGitLabTokenRotation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtokenRotationAsString().- Returns:
- How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.
- See Also:
-
expiresAt
The expiry of the stored access token, for non-rotating tokens only. A rotated token's original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC.
- Returns:
- The expiry of the stored access token, for non-rotating tokens only. A rotated token's original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GitLabDetails.Builder,GitLabDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-