@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScopeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configuration information about the scope for a webhook.
| Constructor and Description | 
|---|
ScopeConfiguration()  | 
| Modifier and Type | Method and Description | 
|---|---|
ScopeConfiguration | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getDomain()
 The domain of the GitHub Enterprise organization. 
 | 
String | 
getName()
 The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the
 webhook is a global or organization webhook respectively. 
 | 
String | 
getScope()
 The type of scope for a GitHub webhook. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setDomain(String domain)
 The domain of the GitHub Enterprise organization. 
 | 
void | 
setName(String name)
 The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the
 webhook is a global or organization webhook respectively. 
 | 
void | 
setScope(String scope)
 The type of scope for a GitHub webhook. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
ScopeConfiguration | 
withDomain(String domain)
 The domain of the GitHub Enterprise organization. 
 | 
ScopeConfiguration | 
withName(String name)
 The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the
 webhook is a global or organization webhook respectively. 
 | 
ScopeConfiguration | 
withScope(String scope)
 The type of scope for a GitHub webhook. 
 | 
ScopeConfiguration | 
withScope(WebhookScopeType scope)
 The type of scope for a GitHub webhook. 
 | 
public void setName(String name)
The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
name - The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on
        if the webhook is a global or organization webhook respectively.public String getName()
The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
public ScopeConfiguration withName(String name)
The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
name - The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on
        if the webhook is a global or organization webhook respectively.public void setDomain(String domain)
The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE
domain - The domain of the GitHub Enterprise organization. Note that this parameter is only required if your
        project's source type is GITHUB_ENTERPRISEpublic String getDomain()
The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE
public ScopeConfiguration withDomain(String domain)
The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE
domain - The domain of the GitHub Enterprise organization. Note that this parameter is only required if your
        project's source type is GITHUB_ENTERPRISEpublic void setScope(String scope)
The type of scope for a GitHub webhook.
scope - The type of scope for a GitHub webhook.WebhookScopeTypepublic String getScope()
The type of scope for a GitHub webhook.
WebhookScopeTypepublic ScopeConfiguration withScope(String scope)
The type of scope for a GitHub webhook.
scope - The type of scope for a GitHub webhook.WebhookScopeTypepublic ScopeConfiguration withScope(WebhookScopeType scope)
The type of scope for a GitHub webhook.
scope - The type of scope for a GitHub webhook.WebhookScopeTypepublic String toString()
toString in class ObjectObject.toString()public ScopeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.