@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BuildStatusConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information that defines how the CodeBuild build project reports the build status to the source provider.
Constructor and Description |
---|
BuildStatusConfig() |
Modifier and Type | Method and Description |
---|---|
BuildStatusConfig |
clone() |
boolean |
equals(Object obj) |
String |
getContext()
Specifies the context of the build status CodeBuild sends to the source provider.
|
String |
getTargetUrl()
Specifies the target url of the build status CodeBuild sends to the source provider.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContext(String context)
Specifies the context of the build status CodeBuild sends to the source provider.
|
void |
setTargetUrl(String targetUrl)
Specifies the target url of the build status CodeBuild sends to the source provider.
|
String |
toString()
Returns a string representation of this object.
|
BuildStatusConfig |
withContext(String context)
Specifies the context of the build status CodeBuild sends to the source provider.
|
BuildStatusConfig |
withTargetUrl(String targetUrl)
Specifies the target url of the build status CodeBuild sends to the source provider.
|
public void setContext(String context)
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
This parameter is used for the name
parameter in the Bitbucket commit status. For more information,
see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the GitHub commit status. For more information,
see Create a commit status
in the GitHub developer guide.
context
- Specifies the context of the build status CodeBuild sends to the source provider. The usage of this
parameter depends on the source provider.
This parameter is used for the name
parameter in the Bitbucket commit status. For more
information, see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the GitHub commit status. For more
information, see Create a
commit status in the GitHub developer guide.
public String getContext()
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
This parameter is used for the name
parameter in the Bitbucket commit status. For more information,
see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the GitHub commit status. For more information,
see Create a commit status
in the GitHub developer guide.
This parameter is used for the name
parameter in the Bitbucket commit status. For more
information, see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the GitHub commit status. For more
information, see Create
a commit status in the GitHub developer guide.
public BuildStatusConfig withContext(String context)
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
This parameter is used for the name
parameter in the Bitbucket commit status. For more information,
see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the GitHub commit status. For more information,
see Create a commit status
in the GitHub developer guide.
context
- Specifies the context of the build status CodeBuild sends to the source provider. The usage of this
parameter depends on the source provider.
This parameter is used for the name
parameter in the Bitbucket commit status. For more
information, see build in the Bitbucket API documentation.
This parameter is used for the context
parameter in the GitHub commit status. For more
information, see Create a
commit status in the GitHub developer guide.
public void setTargetUrl(String targetUrl)
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
This parameter is used for the url
parameter in the Bitbucket commit status. For more information,
see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the GitHub commit status. For more
information, see Create a commit
status in the GitHub developer guide.
targetUrl
- Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this
parameter depends on the source provider.
This parameter is used for the url
parameter in the Bitbucket commit status. For more
information, see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the GitHub commit status. For more
information, see Create a
commit status in the GitHub developer guide.
public String getTargetUrl()
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
This parameter is used for the url
parameter in the Bitbucket commit status. For more information,
see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the GitHub commit status. For more
information, see Create a commit
status in the GitHub developer guide.
This parameter is used for the url
parameter in the Bitbucket commit status. For more
information, see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the GitHub commit status. For more
information, see Create
a commit status in the GitHub developer guide.
public BuildStatusConfig withTargetUrl(String targetUrl)
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
This parameter is used for the url
parameter in the Bitbucket commit status. For more information,
see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the GitHub commit status. For more
information, see Create a commit
status in the GitHub developer guide.
targetUrl
- Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this
parameter depends on the source provider.
This parameter is used for the url
parameter in the Bitbucket commit status. For more
information, see build in the Bitbucket API documentation.
This parameter is used for the target_url
parameter in the GitHub commit status. For more
information, see Create a
commit status in the GitHub developer guide.
public String toString()
toString
in class Object
Object.toString()
public BuildStatusConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.