Interface ProjectEvents.CodeBuildBuildStateChange.Source

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ProjectEvents.CodeBuildBuildStateChange.Source.Jsii$Proxy
Enclosing class:
ProjectEvents.CodeBuildBuildStateChange

@Stability(Experimental) public static interface ProjectEvents.CodeBuildBuildStateChange.Source extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for Source.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.codebuild.events.*;
 Source source = Source.builder()
         .auth(Auth.builder()
                 .resource(List.of("resource"))
                 .type(List.of("type"))
                 .build())
         .buildspec(List.of("buildspec"))
         .location(List.of("location"))
         .type(List.of("type"))
         .build();
 
  • Method Details

    • getAuth

      @Stability(Experimental) @Nullable default ProjectEvents.CodeBuildBuildStateChange.Auth getAuth()
      (experimental) auth property.

      Specify an array of string values to match this event if the actual value of auth is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getBuildspec

      @Stability(Experimental) @Nullable default List<String> getBuildspec()
      (experimental) buildspec property.

      Specify an array of string values to match this event if the actual value of buildspec is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getLocation

      @Stability(Experimental) @Nullable default List<String> getLocation()
      (experimental) location property.

      Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getType

      @Stability(Experimental) @Nullable default List<String> getType()
      (experimental) type property.

      Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static ProjectEvents.CodeBuildBuildStateChange.Source.Builder builder()
      Returns:
      a ProjectEvents.CodeBuildBuildStateChange.Source.Builder of ProjectEvents.CodeBuildBuildStateChange.Source