@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.WebhookScopeType
public String getScope()
The type of scope for a GitHub webhook.
WebhookScopeType
public ScopeConfiguration withScope(String scope)
The type of scope for a GitHub webhook.
scope
- The type of scope for a GitHub webhook.WebhookScopeType
public ScopeConfiguration withScope(WebhookScopeType scope)
The type of scope for a GitHub webhook.
scope
- The type of scope for a GitHub webhook.WebhookScopeType
public String toString()
toString
in class Object
Object.toString()
public ScopeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.