Class CreateFlowLogsResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateFlowLogsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateFlowLogsResult extends Object implements Serializable, Cloneable
Contains the output of CreateFlowLogs.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateFlowLogsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateFlowLogsResultclone()booleanequals(Object obj)StringgetClientToken()Unique, case-sensitive identifier you provide to ensure the idempotency of the request.List<String>getFlowLogIds()The IDs of the flow logs.List<UnsuccessfulItem>getUnsuccessful()Information about the flow logs that could not be created successfully.inthashCode()voidsetClientToken(String clientToken)Unique, case-sensitive identifier you provide to ensure the idempotency of the request.voidsetFlowLogIds(Collection<String> flowLogIds)The IDs of the flow logs.voidsetUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)Information about the flow logs that could not be created successfully.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateFlowLogsResultwithClientToken(String clientToken)Unique, case-sensitive identifier you provide to ensure the idempotency of the request.CreateFlowLogsResultwithFlowLogIds(String... flowLogIds)The IDs of the flow logs.CreateFlowLogsResultwithFlowLogIds(Collection<String> flowLogIds)The IDs of the flow logs.CreateFlowLogsResultwithUnsuccessful(UnsuccessfulItem... unsuccessful)Information about the flow logs that could not be created successfully.CreateFlowLogsResultwithUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)Information about the flow logs that could not be created successfully.
-
-
-
Method Detail
-
getFlowLogIds
public List<String> getFlowLogIds()
The IDs of the flow logs.
- Returns:
- The IDs of the flow logs.
-
setFlowLogIds
public void setFlowLogIds(Collection<String> flowLogIds)
The IDs of the flow logs.
- Parameters:
flowLogIds- The IDs of the flow logs.
-
withFlowLogIds
public CreateFlowLogsResult withFlowLogIds(String... flowLogIds)
The IDs of the flow logs.
NOTE: This method appends the values to the existing list (if any). Use
setFlowLogIds(java.util.Collection)orwithFlowLogIds(java.util.Collection)if you want to override the existing values.- Parameters:
flowLogIds- The IDs of the flow logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFlowLogIds
public CreateFlowLogsResult withFlowLogIds(Collection<String> flowLogIds)
The IDs of the flow logs.
- Parameters:
flowLogIds- The IDs of the flow logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClientToken
public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
-
getClientToken
public String getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
- Returns:
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
-
withClientToken
public CreateFlowLogsResult withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUnsuccessful
public List<UnsuccessfulItem> getUnsuccessful()
Information about the flow logs that could not be created successfully.
- Returns:
- Information about the flow logs that could not be created successfully.
-
setUnsuccessful
public void setUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
Information about the flow logs that could not be created successfully.
- Parameters:
unsuccessful- Information about the flow logs that could not be created successfully.
-
withUnsuccessful
public CreateFlowLogsResult withUnsuccessful(UnsuccessfulItem... unsuccessful)
Information about the flow logs that could not be created successfully.
NOTE: This method appends the values to the existing list (if any). Use
setUnsuccessful(java.util.Collection)orwithUnsuccessful(java.util.Collection)if you want to override the existing values.- Parameters:
unsuccessful- Information about the flow logs that could not be created successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withUnsuccessful
public CreateFlowLogsResult withUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)
Information about the flow logs that could not be created successfully.
- Parameters:
unsuccessful- Information about the flow logs that could not be created successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateFlowLogsResult clone()
-
-