Class ScopeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.ScopeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScopeConfiguration.Builder,ScopeConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ScopeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScopeConfiguration.Builder,ScopeConfiguration>
Contains configuration information about the scope for a webhook.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScopeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScopeConfiguration.Builderbuilder()Stringdomain()The domain of the GitHub Enterprise organization or the GitLab Self Managed group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.WebhookScopeTypescope()The type of scope for a GitHub or GitLab webhook.StringscopeAsString()The type of scope for a GitHub or GitLab webhook.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ScopeConfiguration.Builder>serializableBuilderClass()ScopeConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.
- Returns:
- The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.
-
domain
public final String domain()
The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
- Returns:
- The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
-
scope
public final WebhookScopeType scope()
The type of scope for a GitHub or GitLab webhook.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnWebhookScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The type of scope for a GitHub or GitLab webhook.
- See Also:
WebhookScopeType
-
scopeAsString
public final String scopeAsString()
The type of scope for a GitHub or GitLab webhook.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnWebhookScopeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The type of scope for a GitHub or GitLab webhook.
- See Also:
WebhookScopeType
-
toBuilder
public ScopeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScopeConfiguration.Builder,ScopeConfiguration>
-
builder
public static ScopeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScopeConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-