Class SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps>
- Enclosing interface:
SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps
@Stability(Experimental)
public static final class SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.getClientIp()endTimestamp(List<String> endTimestamp) eventMetadata(AWSEventMetadataProps eventMetadata) failureCode(List<String> failureCode) failureMessage(List<String> failureMessage) Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.getFilePath()Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.getProtocol()Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.getServerId()startTimestamp(List<String> startTimestamp) statusCode(List<String> statusCode) Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientIp
@Stability(Experimental) public SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder clientIp(List<String> clientIp) Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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
-
eventMetadata
@Stability(Experimental) public SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder filePath(List<String> filePath) Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder protocol(List<String> protocol) Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder serverId(List<String> serverId) Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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 SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.Builder username(List<String> username) Sets the value ofSFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps.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<SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps>- Returns:
- a new instance of
SFTPServerFileDeleteFailed.SFTPServerFileDeleteFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-