本文整理了Java中com.oracle.bmc.waiter.Waiters.newWaiter()
方法的一些代码示例,展示了Waiters.newWaiter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Waiters.newWaiter()
方法的具体详情如下:
包路径:com.oracle.bmc.waiter.Waiters
类名称:Waiters
方法名:newWaiter
[英]Creates a new waiter using the given strategies. If any of the args are null, the default strategy listed in this class will be used.
[中]使用给定的策略创建一个新服务员。如果任何参数为null,则将使用此类中列出的默认策略。
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetWorkRequestRequest, GetWorkRequestResponse>
forWorkRequest(
GetWorkRequestRequest request,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
return forWorkRequest(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetWorkRequestRequest, GetWorkRequestResponse>
forWorkRequest(
GetWorkRequestRequest request,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
return forWorkRequest(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetWorkRequestRequest, GetWorkRequestResponse>
forWorkRequest(
GetWorkRequestRequest request,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
return forWorkRequest(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetWorkRequestRequest, GetWorkRequestResponse>
forWorkRequest(
GetWorkRequestRequest request,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
return forWorkRequest(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetVolumeRequest, GetVolumeResponse> forVolume(
GetVolumeRequest request,
com.oracle.bmc.core.model.Volume.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forVolume(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetSenderRequest, GetSenderResponse> forSender(
GetSenderRequest request,
com.oracle.bmc.email.model.Sender.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forSender(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetUserRequest, GetUserResponse> forUser(
GetUserRequest request,
com.oracle.bmc.identity.model.User.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forUser(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetVcnRequest, GetVcnResponse> forVcn(
GetVcnRequest request,
com.oracle.bmc.core.model.Vcn.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forVcn(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetDbSystemRequest, GetDbSystemResponse> forDbSystem(
GetDbSystemRequest request,
com.oracle.bmc.database.model.DbSystem.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forDbSystem(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetSubnetRequest, GetSubnetResponse> forSubnet(
GetSubnetRequest request,
com.oracle.bmc.core.model.Subnet.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forSubnet(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetFileSystemRequest, GetFileSystemResponse> forFileSystem(
GetFileSystemRequest request,
com.oracle.bmc.filestorage.model.FileSystem.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forFileSystem(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetVaultRequest, GetVaultResponse> forVault(
GetVaultRequest request,
com.oracle.bmc.keymanagement.model.Vault.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forVault(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetNatGatewayRequest, GetNatGatewayResponse> forNatGateway(
GetNatGatewayRequest request,
com.oracle.bmc.core.model.NatGateway.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forNatGateway(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetRouteTableRequest, GetRouteTableResponse> forRouteTable(
GetRouteTableRequest request,
com.oracle.bmc.core.model.RouteTable.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forRouteTable(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetImageRequest, GetImageResponse> forImage(
GetImageRequest request,
com.oracle.bmc.core.model.Image.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forImage(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetClusterRequest, GetClusterResponse> forCluster(
GetClusterRequest request,
com.oracle.bmc.containerengine.model.ClusterLifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forCluster(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetExportSetRequest, GetExportSetResponse> forExportSet(
GetExportSetRequest request,
com.oracle.bmc.filestorage.model.ExportSet.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forExportSet(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetVolumeGroupRequest, GetVolumeGroupResponse>
forVolumeGroup(
GetVolumeGroupRequest request,
com.oracle.bmc.core.model.VolumeGroup.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forVolumeGroup(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetIdpGroupMappingRequest, GetIdpGroupMappingResponse>
forIdpGroupMapping(
GetIdpGroupMappingRequest request,
com.oracle.bmc.identity.model.IdpGroupMapping.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forIdpGroupMapping(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
代码示例来源:origin: oracle/oci-java-sdk
/**
* Creates a new {@link Waiter} using the provided configuration.
*
* @param request the request to send
* @param targetState the desired state to wait for
* @param terminationStrategy the {@link TerminationStrategy} to use
* @param delayStrategy the {@link DelayStrategy} to use
* @return a new {@code Waiter} instance
*/
public com.oracle.bmc.waiter.Waiter<GetMountTargetRequest, GetMountTargetResponse>
forMountTarget(
GetMountTargetRequest request,
com.oracle.bmc.filestorage.model.MountTarget.LifecycleState targetState,
com.oracle.bmc.waiter.TerminationStrategy terminationStrategy,
com.oracle.bmc.waiter.DelayStrategy delayStrategy) {
org.apache.commons.lang3.Validate.notNull(targetState, "The targetState cannot be null");
return forMountTarget(
com.oracle.bmc.waiter.Waiters.newWaiter(terminationStrategy, delayStrategy),
request,
targetState);
}
内容来源于网络,如有侵权,请联系作者删除!