Class SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps>
- Enclosing interface:
SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps
@Stability(Experimental)
public static final class SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getBytes()Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getClientIp()endTimestamp(List<String> endTimestamp) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getEtag()eventMetadata(AWSEventMetadataProps eventMetadata) failureCode(List<String> failureCode) failureMessage(List<String> failureMessage) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getFilePath()Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getProtocol()Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getServerId()startTimestamp(List<String> startTimestamp) statusCode(List<String> statusCode) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytes
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder bytes(List<String> bytes) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getBytes()- Parameters:
bytes- bytes property. Specify an array of string values to match this event if the actual value of bytes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
clientIp
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder clientIp(List<String> clientIp) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getClientIp()- Parameters:
clientIp- client-ip property. Specify an array of string values to match this event if the actual value of client-ip is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endTimestamp
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder endTimestamp(List<String> endTimestamp) - Parameters:
endTimestamp- end-timestamp property. Specify an array of string values to match this event if the actual value of end-timestamp is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
etag
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder etag(List<String> etag) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getEtag()- Parameters:
etag- etag property. Specify an array of string values to match this event if the actual value of etag is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder failureCode(List<String> failureCode) - Parameters:
failureCode- failure-code property. Specify an array of string values to match this event if the actual value of failure-code is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
failureMessage
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder failureMessage(List<String> failureMessage) - Parameters:
failureMessage- failure-message property. Specify an array of string values to match this event if the actual value of failure-message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
filePath
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder filePath(List<String> filePath) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getFilePath()- Parameters:
filePath- file-path property. Specify an array of string values to match this event if the actual value of file-path is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
protocol
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder protocol(List<String> protocol) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getProtocol()- Parameters:
protocol- protocol property. Specify an array of string values to match this event if the actual value of protocol is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
serverId
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder serverId(List<String> serverId) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getServerId()- Parameters:
serverId- server-id property. Specify an array of string values to match this event if the actual value of server-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sessionId
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder sessionId(List<String> sessionId) - Parameters:
sessionId- session-id property. Specify an array of string values to match this event if the actual value of session-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTimestamp
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder startTimestamp(List<String> startTimestamp) - Parameters:
startTimestamp- start-timestamp property. Specify an array of string values to match this event if the actual value of start-timestamp is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statusCode
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder statusCode(List<String> statusCode) - Parameters:
statusCode- status-code property. Specify an array of string values to match this event if the actual value of status-code is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
username
@Stability(Experimental) public SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.Builder username(List<String> username) Sets the value ofSFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps.getUsername()- Parameters:
username- username property. Specify an array of string values to match this event if the actual value of username is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps>- Returns:
- a new instance of
SFTPServerFileUploadFailed.SFTPServerFileUploadFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-