Class BuildStatusConfig
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.BuildStatusConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BuildStatusConfig.Builder,BuildStatusConfig>
@Generated("software.amazon.awssdk:codegen") public final class BuildStatusConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BuildStatusConfig.Builder,BuildStatusConfig>
Contains information that defines how the CodeBuild build project reports the build status to the source provider.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBuildStatusConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BuildStatusConfig.Builderbuilder()Stringcontext()Specifies the context of the build status CodeBuild sends to the source provider.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends BuildStatusConfig.Builder>serializableBuilderClass()StringtargetUrl()Specifies the target url of the build status CodeBuild sends to the source provider.BuildStatusConfig.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
-
context
public final 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.
- Bitbucket
-
This parameter is used for the
nameparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
contextparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
- Returns:
- Specifies the context of the build status CodeBuild sends to the source provider. The usage of this
parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
nameparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
contextparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
-
targetUrl
public final 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.
- Bitbucket
-
This parameter is used for the
urlparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_urlparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
- Returns:
- Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this
parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
urlparameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_urlparameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
-
toBuilder
public BuildStatusConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BuildStatusConfig.Builder,BuildStatusConfig>
-
builder
public static BuildStatusConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends BuildStatusConfig.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.
-
-